DefaultPageFactoryProvider.CreatePageFactory Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
public:
virtual Func<Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^, Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^, System::Object ^> ^ CreatePageFactory(Microsoft::AspNetCore::Mvc::RazorPages::CompiledPageActionDescriptor ^ actionDescriptor);
public virtual Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,object> CreatePageFactory (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor actionDescriptor);
abstract member CreatePageFactory : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj>
override this.CreatePageFactory : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj>
Public Overridable Function CreatePageFactory (actionDescriptor As CompiledPageActionDescriptor) As Func(Of PageContext, ViewContext, Object)
Paramètres
- actionDescriptor
- CompiledPageActionDescriptor