Merge branch 'rel/2.0.0' into dev

This commit is contained in:
Ryan Nowak 2017-07-14 10:49:41 -07:00
commit d79a4ff243
1 changed files with 5 additions and 4 deletions

View File

@ -3,14 +3,15 @@
using System; using System;
namespace Microsoft.AspNetCore.Mvc.ViewFeatures namespace Microsoft.AspNetCore.Mvc
{ {
/// <summary> /// <summary>
/// Properties with the <see cref="TempDataAttribute"/> are stored in the <see cref="TempDataDictionary"/>. /// Properties decorated with <see cref="TempDataAttribute"/> will have their values stored in
/// and loaded from the <see cref="ViewFeatures.TempDataDictionary"/>. <see cref="TempDataAttribute"/>
/// is supported on properties of Controllers, Razor Pages, and Razor Page Page Models.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)] [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public sealed class TempDataAttribute : Attribute public sealed class TempDataAttribute : Attribute
{ {
} }
} }