共用方式為


DefaultPageFactoryProvider 建構函式

定義

public:
 DefaultPageFactoryProvider(Microsoft::AspNetCore::Mvc::RazorPages::IPageActivatorProvider ^ pageActivator, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::Routing::IUrlHelperFactory ^ urlHelperFactory, Microsoft::AspNetCore::Mvc::Rendering::IJsonHelper ^ jsonHelper, System::Diagnostics::DiagnosticSource ^ diagnosticSource, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::AspNetCore::Mvc::ViewFeatures::IModelExpressionProvider ^ modelExpressionProvider);
public DefaultPageFactoryProvider (Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider pageActivator, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper jsonHelper, System.Diagnostics.DiagnosticSource diagnosticSource, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider modelExpressionProvider);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageFactoryProvider : Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory * Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper * System.Diagnostics.DiagnosticSource * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageFactoryProvider
Public Sub New (pageActivator As IPageActivatorProvider, metadataProvider As IModelMetadataProvider, urlHelperFactory As IUrlHelperFactory, jsonHelper As IJsonHelper, diagnosticSource As DiagnosticSource, htmlEncoder As HtmlEncoder, modelExpressionProvider As IModelExpressionProvider)

參數

pageActivator
IPageActivatorProvider
metadataProvider
IModelMetadataProvider
urlHelperFactory
IUrlHelperFactory
jsonHelper
IJsonHelper
diagnosticSource
DiagnosticSource
htmlEncoder
HtmlEncoder
modelExpressionProvider
IModelExpressionProvider

適用於