Compartir a través de


IPageFactoryProvider.CreatePageDisposer(CompiledPageActionDescriptor) Método

Definición

Libera una página de 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)

Parámetros

Devoluciones

Delegado usado para liberar la página creada.

Se aplica a