Share via


PageActionDescriptorProvider Constructor

Definition

Instantiates a new instance of 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))

Parameters

pageRouteModelProviders
IEnumerable<IPageRouteModelProvider>

The IPageRouteModelProviders to use.

mvcOptionsAccessor
IOptions<MvcOptions>

The MvcOptions.

pagesOptionsAccessor
IOptions<RazorPagesOptions>

The RazorPagesOptions.

Applies to