共用方式為


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

適用於