RazorPageActivator Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the RazorPageActivator class.
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)
Parameters
- metadataProvider
- IModelMetadataProvider
- urlHelperFactory
- IUrlHelperFactory
- jsonHelper
- IJsonHelper
- diagnosticSource
- DiagnosticSource
- htmlEncoder
- HtmlEncoder
- modelExpressionProvider
- IModelExpressionProvider