DefaultViewComponentInvoker Конструктор

Определение

Инициализирует новый экземпляр 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)

Параметры

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

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

logger
ILogger

ILogger.

Применяется к