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 |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for