HtmlHelper<TModel> Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
HtmlHelper<TModel>(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder, ModelExpressionProvider) |
Initialisiert eine neue Instanz der HtmlHelper<TModel>-Klasse. |
HtmlHelper<TModel>(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder, ExpressionTextCache) |
Initialisiert eine neue Instanz der HtmlHelper<TModel>-Klasse. |
HtmlHelper<TModel>(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder, ModelExpressionProvider)
- Quelle:
- HtmlHelperOfT.cs
Initialisiert eine neue Instanz der HtmlHelper<TModel>-Klasse.
public:
HtmlHelper(Microsoft::AspNetCore::Mvc::ViewFeatures::IHtmlGenerator ^ htmlGenerator, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ viewEngine, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::ViewFeatures::Buffers::IViewBufferScope ^ bufferScope, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, System::Text::Encodings::Web::UrlEncoder ^ urlEncoder, Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExpressionProvider ^ modelExpressionProvider);
public HtmlHelper (Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator htmlGenerator, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope bufferScope, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Text.Encodings.Web.UrlEncoder urlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider modelExpressionProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper<'Model> : Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope * System.Text.Encodings.Web.HtmlEncoder * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper<'Model>
Public Sub New (htmlGenerator As IHtmlGenerator, viewEngine As ICompositeViewEngine, metadataProvider As IModelMetadataProvider, bufferScope As IViewBufferScope, htmlEncoder As HtmlEncoder, urlEncoder As UrlEncoder, modelExpressionProvider As ModelExpressionProvider)
Parameter
- htmlGenerator
- IHtmlGenerator
- viewEngine
- ICompositeViewEngine
- metadataProvider
- IModelMetadataProvider
- bufferScope
- IViewBufferScope
- htmlEncoder
- HtmlEncoder
- urlEncoder
- UrlEncoder
- modelExpressionProvider
- ModelExpressionProvider
Gilt für:
HtmlHelper<TModel>(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder, ExpressionTextCache)
- Quelle:
- HtmlHelperOfT.cs
- Quelle:
- HtmlHelperOfT.cs
Initialisiert eine neue Instanz der HtmlHelper<TModel>-Klasse.
public:
HtmlHelper(Microsoft::AspNetCore::Mvc::ViewFeatures::IHtmlGenerator ^ htmlGenerator, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ viewEngine, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::ViewFeatures::Internal::IViewBufferScope ^ bufferScope, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, System::Text::Encodings::Web::UrlEncoder ^ urlEncoder, Microsoft::AspNetCore::Mvc::ViewFeatures::Internal::ExpressionTextCache ^ expressionTextCache);
public HtmlHelper (Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator htmlGenerator, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope bufferScope, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Text.Encodings.Web.UrlEncoder urlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache expressionTextCache);
new Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper<'Model> : Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope * System.Text.Encodings.Web.HtmlEncoder * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache -> Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper<'Model>
Public Sub New (htmlGenerator As IHtmlGenerator, viewEngine As ICompositeViewEngine, metadataProvider As IModelMetadataProvider, bufferScope As IViewBufferScope, htmlEncoder As HtmlEncoder, urlEncoder As UrlEncoder, expressionTextCache As ExpressionTextCache)
Parameter
- htmlGenerator
- IHtmlGenerator
- viewEngine
- ICompositeViewEngine
- metadataProvider
- IModelMetadataProvider
- bufferScope
- Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope
- htmlEncoder
- HtmlEncoder
- urlEncoder
- UrlEncoder
- expressionTextCache
- Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache