共用方式為


PageActionDescriptorProvider 建構函式

定義

執行個體化 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))

參數

pageRouteModelProviders
IEnumerable<IPageRouteModelProvider>

IPageRouteModelProvider要使用的 。

mvcOptionsAccessor
IOptions<MvcOptions>

MvcOptions

pagesOptionsAccessor
IOptions<RazorPagesOptions>

RazorPagesOptions

適用於