Partager via


DefaultViewComponentInvoker Constructeur

Définition

Initialise une nouvelle instance de 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)

Paramètres

viewComponentFactory
IViewComponentFactory

L’IViewComponentFactoryopérateur

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

L’Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCacheopérateur

diagnosticSource
DiagnosticSource

L’DiagnosticSourceopérateur

logger
ILogger

L’ILoggeropérateur

S’applique à