DefaultHtmlGenerator 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ClientValidatorCache)
주의
This constructor is obsolete and will be removed in a future version. The recommended alternative is to use the other public constructor.
DefaultHtmlGenerator 클래스의 새 인스턴스를 초기화합니다.
이 생성자는 사용되지 않으며 이후 버전에서 제거됩니다. 대신 DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ClientValidatorCache, ValidationHtmlAttributeProvider)를 사용하는 것이 좋습니다.
public:
DefaultHtmlGenerator(Microsoft::AspNetCore::Antiforgery::IAntiforgery ^ antiforgery, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::Routing::IUrlHelperFactory ^ urlHelperFactory, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::AspNetCore::Mvc::Internal::ClientValidatorCache ^ clientValidatorCache);
public DefaultHtmlGenerator (Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache clientValidatorCache);
[System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is to use the other public constructor.")]
public DefaultHtmlGenerator (Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache clientValidatorCache);
new Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator : Microsoft.AspNetCore.Antiforgery.IAntiforgery * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache -> Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator
[<System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is to use the other public constructor.")>]
new Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator : Microsoft.AspNetCore.Antiforgery.IAntiforgery * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache -> Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator
Public Sub New (antiforgery As IAntiforgery, optionsAccessor As IOptions(Of MvcViewOptions), metadataProvider As IModelMetadataProvider, urlHelperFactory As IUrlHelperFactory, htmlEncoder As HtmlEncoder, clientValidatorCache As ClientValidatorCache)
매개 변수
- antiforgery
- IAntiforgery
IAntiforgery 위조 방지 토큰을 생성하는 데 사용되는 instance.
- optionsAccessor
- IOptions<MvcViewOptions>
의 접근자입니다 MvcViewOptions.
- metadataProvider
- IModelMetadataProvider
- urlHelperFactory
- IUrlHelperFactory
- htmlEncoder
- HtmlEncoder
- clientValidatorCache
- Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache
Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache 의 목록을 IClientModelValidator제공하는 입니다.
- 특성
적용 대상
DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ValidationHtmlAttributeProvider)
- Source:
- DefaultHtmlGenerator.cs
- Source:
- DefaultHtmlGenerator.cs
- Source:
- DefaultHtmlGenerator.cs
DefaultHtmlGenerator 클래스의 새 인스턴스를 초기화합니다.
public:
DefaultHtmlGenerator(Microsoft::AspNetCore::Antiforgery::IAntiforgery ^ antiforgery, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::Routing::IUrlHelperFactory ^ urlHelperFactory, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::AspNetCore::Mvc::ViewFeatures::ValidationHtmlAttributeProvider ^ validationAttributeProvider);
public DefaultHtmlGenerator (Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider validationAttributeProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator : Microsoft.AspNetCore.Antiforgery.IAntiforgery * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator
Public Sub New (antiforgery As IAntiforgery, optionsAccessor As IOptions(Of MvcViewOptions), metadataProvider As IModelMetadataProvider, urlHelperFactory As IUrlHelperFactory, htmlEncoder As HtmlEncoder, validationAttributeProvider As ValidationHtmlAttributeProvider)
매개 변수
- antiforgery
- IAntiforgery
IAntiforgery 위조 방지 토큰을 생성하는 데 사용되는 instance.
- optionsAccessor
- IOptions<MvcViewOptions>
의 접근자입니다 MvcViewOptions.
- metadataProvider
- IModelMetadataProvider
- urlHelperFactory
- IUrlHelperFactory
- htmlEncoder
- HtmlEncoder
- validationAttributeProvider
- ValidationHtmlAttributeProvider
적용 대상
DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ClientValidatorCache, ValidationHtmlAttributeProvider)
DefaultHtmlGenerator 클래스의 새 인스턴스를 초기화합니다.
public:
DefaultHtmlGenerator(Microsoft::AspNetCore::Antiforgery::IAntiforgery ^ antiforgery, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::Routing::IUrlHelperFactory ^ urlHelperFactory, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::AspNetCore::Mvc::Internal::ClientValidatorCache ^ clientValidatorCache, Microsoft::AspNetCore::Mvc::ViewFeatures::ValidationHtmlAttributeProvider ^ validationAttributeProvider);
public DefaultHtmlGenerator (Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache clientValidatorCache, Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider validationAttributeProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator : Microsoft.AspNetCore.Antiforgery.IAntiforgery * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache * Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator
Public Sub New (antiforgery As IAntiforgery, optionsAccessor As IOptions(Of MvcViewOptions), metadataProvider As IModelMetadataProvider, urlHelperFactory As IUrlHelperFactory, htmlEncoder As HtmlEncoder, clientValidatorCache As ClientValidatorCache, validationAttributeProvider As ValidationHtmlAttributeProvider)
매개 변수
- antiforgery
- IAntiforgery
IAntiforgery 위조 방지 토큰을 생성하는 데 사용되는 instance.
- optionsAccessor
- IOptions<MvcViewOptions>
의 접근자입니다 MvcViewOptions.
- metadataProvider
- IModelMetadataProvider
- urlHelperFactory
- IUrlHelperFactory
- htmlEncoder
- HtmlEncoder
- clientValidatorCache
- Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache
Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache 의 목록을 IClientModelValidator제공하는 입니다.
- validationAttributeProvider
- ValidationHtmlAttributeProvider