CompiledPageActionDescriptorProvider Constructeur
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.
Initialise une nouvelle instance de CompiledPageActionDescriptorProvider.
public CompiledPageActionDescriptorProvider (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider> pageRouteModelProviders, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider> applicationModelProviders, Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationPartManager, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> mvcOptions, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions> pageOptions);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.CompiledPageActionDescriptorProvider : seq<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider> * seq<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider> * Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions> -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.CompiledPageActionDescriptorProvider
Public Sub New (pageRouteModelProviders As IEnumerable(Of IPageRouteModelProvider), applicationModelProviders As IEnumerable(Of IPageApplicationModelProvider), applicationPartManager As ApplicationPartManager, mvcOptions As IOptions(Of MvcOptions), pageOptions As IOptions(Of RazorPagesOptions))
Paramètres
- pageRouteModelProviders
- IEnumerable<IPageRouteModelProvider>
Séquence de IPageRouteModelProvider.
- applicationModelProviders
- IEnumerable<IPageApplicationModelProvider>
Séquence de IPageRouteModelProvider.
- applicationPartManager
- ApplicationPartManager
L’ApplicationPartManageropérateur
- mvcOptions
- IOptions<MvcOptions>
Accesseur à MvcOptions.
- pageOptions
- IOptions<RazorPagesOptions>
Accesseur à RazorPagesOptions.