DefaultPageModelFactoryProvider.CreateModelFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual Func<Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^, System::Object ^> ^ CreateModelFactory(Microsoft::AspNetCore::Mvc::RazorPages::CompiledPageActionDescriptor ^ descriptor);
public virtual Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,object> CreateModelFactory (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor);
abstract member CreateModelFactory : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, obj>
override this.CreateModelFactory : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, obj>
Public Overridable Function CreateModelFactory (descriptor As CompiledPageActionDescriptor) As Func(Of PageContext, Object)
Parameters
- descriptor
- CompiledPageActionDescriptor