DefaultViewComponentHelper 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)
DefaultViewComponentHelper의 새 인스턴스를 초기화합니다.
public:
DefaultViewComponentHelper(Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentDescriptorCollectionProvider ^ descriptorProvider, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentSelector ^ selector, Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentInvokerFactory ^ invokerFactory, Microsoft::AspNetCore::Mvc::ViewFeatures::Buffers::IViewBufferScope ^ viewBufferScope);
public DefaultViewComponentHelper (Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider descriptorProvider, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector selector, Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory invokerFactory, Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope viewBufferScope);
new Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector * Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory * Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope -> Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper
Public Sub New (descriptorProvider As IViewComponentDescriptorCollectionProvider, htmlEncoder As HtmlEncoder, selector As IViewComponentSelector, invokerFactory As IViewComponentInvokerFactory, viewBufferScope As IViewBufferScope)
매개 변수
- descriptorProvider
- IViewComponentDescriptorCollectionProvider
IViewComponentDescriptorCollectionProvider 뷰 구성 요소를 찾는 데 사용되는 입니다.
- htmlEncoder
- HtmlEncoder
- invokerFactory
- IViewComponentInvokerFactory
- viewBufferScope
- IViewBufferScope
IViewBufferScope 인스턴스의 Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer 수명을 관리하는 입니다.
적용 대상
DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)
DefaultViewComponentHelper의 새 인스턴스를 초기화합니다.
public:
DefaultViewComponentHelper(Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentDescriptorCollectionProvider ^ descriptorProvider, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentSelector ^ selector, Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentInvokerFactory ^ invokerFactory, Microsoft::AspNetCore::Mvc::ViewFeatures::Internal::IViewBufferScope ^ viewBufferScope);
public DefaultViewComponentHelper (Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider descriptorProvider, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector selector, Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory invokerFactory, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope viewBufferScope);
new Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector * Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory * Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope -> Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper
Public Sub New (descriptorProvider As IViewComponentDescriptorCollectionProvider, htmlEncoder As HtmlEncoder, selector As IViewComponentSelector, invokerFactory As IViewComponentInvokerFactory, viewBufferScope As IViewBufferScope)
매개 변수
- descriptorProvider
- IViewComponentDescriptorCollectionProvider
IViewComponentDescriptorCollectionProvider 뷰 구성 요소를 찾는 데 사용되는 입니다.
- htmlEncoder
- HtmlEncoder
- invokerFactory
- IViewComponentInvokerFactory
- viewBufferScope
- Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope
Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope 인스턴스의 Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewBuffer 수명을 관리하는 입니다.