Remove obsolete ViewEngine (#5699)

This commit is contained in:
Jass Bagga 2017-01-18 16:29:20 -08:00 committed by GitHub
parent 24efd4268b
commit 6f7fc4fb34
3 changed files with 24 additions and 13 deletions

View File

@ -51,19 +51,6 @@ namespace Microsoft.AspNetCore.Mvc
/// </summary>
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>
/// Gets or sets the Content-Type header for the response.
/// </summary>

View File

@ -0,0 +1,12 @@
[
{
"OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult",
"OldMemberId": "public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine get_ViewEngine()",
"Kind": "Removal"
},
{
"OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult",
"OldMemberId": "public System.Void set_ViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine value)",
"Kind": "Removal"
}
]

View File

@ -0,0 +1,12 @@
[
{
"OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult",
"OldMemberId": "public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine get_ViewEngine()",
"Kind": "Removal"
},
{
"OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult",
"OldMemberId": "public System.Void set_ViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine value)",
"Kind": "Removal"
}
]