Condividi tramite


DefaultViewComponentInvoker Costruttore

Definizione

Inizializza una nuova istanza di 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)

Parametri

viewComponentFactory
IViewComponentFactory

Oggetto IViewComponentFactory.

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

Oggetto Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache.

diagnosticSource
DiagnosticSource

Oggetto DiagnosticSource.

logger
ILogger

Oggetto ILogger.

Si applica a