CompiledPageActionDescriptorProvider 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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))
參數
- pageRouteModelProviders
- IEnumerable<IPageRouteModelProvider>
的 IPageRouteModelProvider 序列。
- applicationModelProviders
- IEnumerable<IPageApplicationModelProvider>
的 IPageRouteModelProvider 序列。
- applicationPartManager
- ApplicationPartManager
- mvcOptions
- IOptions<MvcOptions>
的存取子 MvcOptions 。
- pageOptions
- IOptions<RazorPagesOptions>
的存取子 RazorPagesOptions 。