Freigeben über


IPageModelActivatorProvider.CreateReleaser Methode

Definition

Gibt ein Razor Page-Modell frei.

public:
 Action<Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^, System::Object ^> ^ CreateReleaser(Microsoft::AspNetCore::Mvc::RazorPages::CompiledPageActionDescriptor ^ descriptor);
public Action<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,object> CreateReleaser (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor);
public Action<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,object>? CreateReleaser (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor);
abstract member CreateReleaser : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Action<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, obj>
Public Function CreateReleaser (descriptor As CompiledPageActionDescriptor) As Action(Of PageContext, Object)

Parameter

Gibt zurück

Der Delegat, mit dem das aktivierte Razor Page-Modell entsorgt wird.

Gilt für: