Added missing `HtmlAttributeNotBound` to `ViewContext` property.

- Did not add a test to validate the behavior. None of the other `TagHelper`s validate that a property is not visible/bound.

#2901
This commit is contained in:
N. Taylor Mullen 2015-08-03 15:05:08 -07:00
parent 2792f10f9a
commit 6d228a62dc
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
protected IHostingEnvironment HostingEnvironment { get; }
[HtmlAttributeNotBound]
[ViewContext]
public ViewContext ViewContext { get; set; }