DefaultViewComponentInvoker Konstruktor

Definition

Initialisiert eine neue Instanz von 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)

Parameter

viewComponentFactory
IViewComponentFactory

Die IViewComponentFactory.

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

Die Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache.

diagnosticSource
DiagnosticSource

Die DiagnosticSource.

logger
ILogger

Die ILogger.

Gilt für: