DefaultViewComponentHelper Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)
Inicializuje novou instanci .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)
Parametry
- descriptorProvider
- IViewComponentDescriptorCollectionProvider
Slouží IViewComponentDescriptorCollectionProvider k vyhledání součástí zobrazení.
- htmlEncoder
- HtmlEncoder
Hodnota HtmlEncoder
- selector
- IViewComponentSelector
Hodnota IViewComponentSelector
- invokerFactory
- IViewComponentInvokerFactory
Hodnota IViewComponentInvokerFactory
- viewBufferScope
- IViewBufferScope
Objekt IViewBufferScope , který spravuje dobu života Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer instancí.
Platí pro
DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)
Inicializuje novou instanci .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)
Parametry
- descriptorProvider
- IViewComponentDescriptorCollectionProvider
Slouží IViewComponentDescriptorCollectionProvider k vyhledání součástí zobrazení.
- htmlEncoder
- HtmlEncoder
Hodnota HtmlEncoder
- selector
- IViewComponentSelector
Hodnota IViewComponentSelector
- invokerFactory
- IViewComponentInvokerFactory
Hodnota IViewComponentInvokerFactory
- viewBufferScope
- Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope
Objekt Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope , který spravuje dobu života Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewBuffer instancí.