DefaultViewComponentInvoker Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy DefaultViewComponentInvoker.

public:
 DefaultViewComponentInvoker(Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentFactory ^ viewComponentFactory, Microsoft::AspNetCore::Mvc::ViewFeatures::Internal::ViewComponentInvokerCache ^ viewComponentInvokerCache, System::Diagnostics::DiagnosticSource ^ diagnosticSource, Microsoft::Extensions::Logging::ILogger ^ logger);
public DefaultViewComponentInvoker (Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory viewComponentFactory, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache viewComponentInvokerCache, System.Diagnostics.DiagnosticSource diagnosticSource, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory * Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache * System.Diagnostics.DiagnosticSource * Microsoft.Extensions.Logging.ILogger -> Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker
Public Sub New (viewComponentFactory As IViewComponentFactory, viewComponentInvokerCache As ViewComponentInvokerCache, diagnosticSource As DiagnosticSource, logger As ILogger)

Parametry

viewComponentFactory
IViewComponentFactory

Element IViewComponentFactory.

viewComponentInvokerCache
Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache

Element Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache.

diagnosticSource
DiagnosticSource

Element DiagnosticSource.

logger
ILogger

Element ILogger.

Dotyczy