HtmlHelper Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
HtmlHelper(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder) |
Inicjuje nowe wystąpienie klasy HtmlHelper. |
HtmlHelper(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder) |
Inicjuje nowe wystąpienie klasy HtmlHelper. |
HtmlHelper(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder)
- Źródło:
- HtmlHelper.cs
Inicjuje nowe wystąpienie klasy HtmlHelper.
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);
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);
new Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper : 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.HtmlHelper
Public Sub New (htmlGenerator As IHtmlGenerator, viewEngine As ICompositeViewEngine, metadataProvider As IModelMetadataProvider, bufferScope As IViewBufferScope, htmlEncoder As HtmlEncoder, urlEncoder As UrlEncoder)
Parametry
- htmlGenerator
- IHtmlGenerator
- viewEngine
- ICompositeViewEngine
- metadataProvider
- IModelMetadataProvider
- bufferScope
- IViewBufferScope
- htmlEncoder
- HtmlEncoder
- urlEncoder
- UrlEncoder
Dotyczy
HtmlHelper(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder)
- Źródło:
- HtmlHelper.cs
- Źródło:
- HtmlHelper.cs
Inicjuje nowe wystąpienie klasy HtmlHelper.
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);
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);
new Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper : 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.HtmlHelper
Public Sub New (htmlGenerator As IHtmlGenerator, viewEngine As ICompositeViewEngine, metadataProvider As IModelMetadataProvider, bufferScope As IViewBufferScope, htmlEncoder As HtmlEncoder, urlEncoder As UrlEncoder)
Parametry
- htmlGenerator
- IHtmlGenerator
- viewEngine
- ICompositeViewEngine
- metadataProvider
- IModelMetadataProvider
- bufferScope
- Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope
- htmlEncoder
- HtmlEncoder
- urlEncoder
- UrlEncoder