RazorPageActivator.Activate(IRazorPage, ViewContext) 方法

定义

在类型中实现时,会激活实例化页。

public:
 virtual 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
override this.Activate : Microsoft.AspNetCore.Mvc.Razor.IRazorPage * Microsoft.AspNetCore.Mvc.Rendering.ViewContext -> unit
Public Sub Activate (page As IRazorPage, context As ViewContext)

参数

page
IRazorPage

要激活的页面。

context
ViewContext

ViewContext执行视图的 。

实现

适用于