Partager via


IPageFactoryProvider.CreatePageDisposer(CompiledPageActionDescriptor) Méthode

Définition

Libère une page Razor.

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

Paramètres

Retours

Délégué utilisé pour libérer la page créée.

S’applique à