IViewContextAware Interface¶
Contract for contextualizing a property activated by a view with the Microsoft.AspNetCore.Mvc.Rendering.ViewContext
.
- Namespace
Microsoft.AspNetCore.Mvc.ViewFeatures
- Assemblies
- Microsoft.AspNetCore.Mvc.ViewFeatures
Syntax¶
public interface IViewContextAware
-
interface
Microsoft.AspNetCore.Mvc.ViewFeatures.
IViewContextAware
Methods¶
-
Contextualize
(Microsoft.AspNetCore.Mvc.Rendering.ViewContext)¶ Contextualizes the instance with the specified <em>viewContext</em>.
Arguments: viewContext (Microsoft.AspNetCore.Mvc.Rendering.ViewContext) – The Microsoft.AspNetCore.Mvc.Rendering.ViewContext
.void Contextualize(ViewContext viewContext)
-