Udostępnij za pośrednictwem


DefaultViewComponentHelper Konstruktory

Definicja

Przeciążenia

DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)

Inicjuje nowe wystąpienie klasy DefaultViewComponentHelper.

DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)

Inicjuje nowe wystąpienie klasy DefaultViewComponentHelper.

DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)

Źródło:
DefaultViewComponentHelper.cs

Inicjuje nowe wystąpienie klasy 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

Służy IViewComponentDescriptorCollectionProvider do lokalizowania składników widoku.

htmlEncoder
HtmlEncoder

Element HtmlEncoder.

viewBufferScope
IViewBufferScope

Element IViewBufferScope , który zarządza okresem istnienia Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer wystąpień.

Dotyczy

DefaultViewComponentHelper(IViewComponentDescriptorCollectionProvider, HtmlEncoder, IViewComponentSelector, IViewComponentInvokerFactory, IViewBufferScope)

Źródło:
DefaultViewComponentHelper.cs
Źródło:
DefaultViewComponentHelper.cs

Inicjuje nowe wystąpienie klasy 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

Służy IViewComponentDescriptorCollectionProvider do lokalizowania składników widoku.

htmlEncoder
HtmlEncoder

Element HtmlEncoder.

viewBufferScope
Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope

Element Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope , który zarządza okresem istnienia Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewBuffer wystąpień.

Dotyczy