RazorPageActivator 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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)
參數
- metadataProvider
- IModelMetadataProvider
- urlHelperFactory
- IUrlHelperFactory
- jsonHelper
- IJsonHelper
- diagnosticSource
- DiagnosticSource
- htmlEncoder
- HtmlEncoder
- modelExpressionProvider
- IModelExpressionProvider