Share via


IRazorPageActivator.Activate(IRazorPage, ViewContext) Method

Definition

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.

Applies to