IViewContextAware Interface
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
C#
public interface IViewContextAware
type IViewContextAware = interface
Public Interface IViewContextAware
- Derived
This interface is used for contextualizing properties added to a Razor page using @inject
.
Contextualize(View |
Contextualizes the instance with the specified |
منتج | الإصدارات |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |