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

适用于