From 3e2333d2d9c972075bc1447232a030d508bf1e35 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 14 Jul 2017 10:18:12 -0700 Subject: [PATCH] Fix #6542 - correct namespace of [TempData] --- .../TempDataAttribute.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs index a1f0e8eb69..fd2e42f0d7 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs @@ -3,14 +3,15 @@ using System; -namespace Microsoft.AspNetCore.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc { /// - /// Properties with the are stored in the . + /// Properties decorated with will have their values stored in + /// and loaded from the . + /// is supported on properties of Controllers, Razor Pages, and Razor Page Page Models. /// - [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)] + [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)] public sealed class TempDataAttribute : Attribute { - } }