共用方式為


ServiceBasedPageModelActivatorProvider.CreateReleaser 方法

定義

釋放 Razor 頁面模型。

public:
 virtual 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>
override this.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 頁面模型的委派。

實作

適用於