Freigeben über


DefaultPageActivatorProvider.CreateActivator Methode

Definition

Erstellt einen Razor-Seitenaktivator.

public:
 virtual Func<Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^, Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^, System::Object ^> ^ CreateActivator(Microsoft::AspNetCore::Mvc::RazorPages::CompiledPageActionDescriptor ^ actionDescriptor);
public virtual Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,object> CreateActivator (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor actionDescriptor);
abstract member CreateActivator : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj>
override this.CreateActivator : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj>
Public Overridable Function CreateActivator (actionDescriptor As CompiledPageActionDescriptor) As Func(Of PageContext, ViewContext, Object)

Parameter

actionDescriptor
CompiledPageActionDescriptor

Gibt zurück

Der Delegat, der zum Aktivieren der Seite verwendet wird.

Implementiert

Gilt für: