DefaultPageModelFactoryProvider.CreateModelDisposer Method

Definition

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

Parameters

Returns

Implements

Applies to