ViewComponentContextAttribute Class¶
Summary¶
Specifies that a controller property should be set with the current [Microsoft.AspNet.Mvc.ViewComponentContext](Microsoft.AspNet.Mvc.ViewComponentContext.yml) when creating the view component. The property must have a public set method.
Inheritance Hierarchy¶
System.Object
System.Attribute
Microsoft.AspNet.Mvc.ViewComponents.ViewComponentContextAttribute