共用方式為


IPageModelActivatorProvider.CreateReleaser 方法

定義

釋放 Razor 頁面模型。

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)

參數

傳回

用來處置已啟動 Razor 頁面模型的委派。

適用於