IViewContextAware Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contract for contextualizing a property activated by a view with the ViewContext.
public interface class IViewContextAware
public interface IViewContextAware
type IViewContextAware = interface
Public Interface IViewContextAware
- Derived
Remarks
This interface is used for contextualizing properties added to a Razor page using @inject
.
Methods
Contextualize(ViewContext) |
Contextualizes the instance with the specified |