DefaultViewComponentInvokerFactory 构造函数

定义

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

参数

viewComponentFactory
IViewComponentFactory
viewComponentInvokerCache
Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache
diagnosticSource
DiagnosticSource
loggerFactory
ILoggerFactory

适用于