Sdílet prostřednictvím


PageActionDescriptorProvider Konstruktor

Definice

Vytvoří instanci nové instance .PageActionDescriptorProvider

public:
 PageActionDescriptorProvider(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ApplicationModels::IPageRouteModelProvider ^> ^ pageRouteModelProviders, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ mvcOptionsAccessor, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::RazorPages::RazorPagesOptions ^> ^ pagesOptionsAccessor);
public PageActionDescriptorProvider (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider> pageRouteModelProviders, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> mvcOptionsAccessor, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions> pagesOptionsAccessor);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider : seq<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions> -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider
Public Sub New (pageRouteModelProviders As IEnumerable(Of IPageRouteModelProvider), mvcOptionsAccessor As IOptions(Of MvcOptions), pagesOptionsAccessor As IOptions(Of RazorPagesOptions))

Parametry

pageRouteModelProviders
IEnumerable<IPageRouteModelProvider>

S IPageRouteModelProvider, které se mají použít.

mvcOptionsAccessor
IOptions<MvcOptions>

Hodnota MvcOptions

pagesOptionsAccessor
IOptions<RazorPagesOptions>

Hodnota RazorPagesOptions

Platí pro