Added ObsoleteAttribute to unused ViewEngine property

Fixes #5066
This commit is contained in:
Kristian Hellang 2016-07-30 00:19:43 +02:00 committed by Pranav K
parent 27a641f4bf
commit 8d1e419a99
1 changed files with 6 additions and 0 deletions

View File

@ -52,10 +52,16 @@ namespace Microsoft.AspNetCore.Mvc
public ITempDataDictionary TempData { get; set; }
/// <summary>
/// <para>
/// This property is unused and will be removed in the next major version.
/// </para>
/// <para>
/// Gets or sets the <see cref="IViewEngine"/> used to locate views.
/// </para>
/// </summary>
/// <remarks>When <c>null</c>, an instance of <see cref="ICompositeViewEngine"/> from
/// <c>ActionContext.HttpContext.RequestServices</c> is used.</remarks>
[Obsolete("This property is unused and will be removed in the next major version.")]
public IViewEngine ViewEngine { get; set; }
/// <summary>