Partager via


RazorPageActivator Constructeur

Définition

Initialise une nouvelle instance de la classe RazorPageActivator.

public:
 RazorPageActivator(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 RazorPageActivator (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.Razor.RazorPageActivator : 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.Razor.RazorPageActivator
Public Sub New (metadataProvider As IModelMetadataProvider, urlHelperFactory As IUrlHelperFactory, jsonHelper As IJsonHelper, diagnosticSource As DiagnosticSource, htmlEncoder As HtmlEncoder, modelExpressionProvider As IModelExpressionProvider)

Paramètres

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

S’applique à