Udostępnij za pośrednictwem


PageActionDescriptorProvider Konstruktor

Definicja

Tworzy wystąpienie nowego wystąpienia .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>

Element IPageRouteModelProviders do użycia.

mvcOptionsAccessor
IOptions<MvcOptions>

Element MvcOptions.

pagesOptionsAccessor
IOptions<RazorPagesOptions>

Element RazorPagesOptions.

Dotyczy