IRazorPageActivator.Activate(IRazorPage, ViewContext) Method
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.
When implemented in a type, activates an instantiated page.
public:
void Activate(Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^ page, Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ context);
public void Activate (Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context);
abstract member Activate : Microsoft.AspNetCore.Mvc.Razor.IRazorPage * Microsoft.AspNetCore.Mvc.Rendering.ViewContext -> unit
Public Sub Activate (page As IRazorPage, context As ViewContext)
Parameters
- page
- IRazorPage
The page to activate.
- context
- ViewContext
The ViewContext for the executing view.