ControllerGeneratorBase 构造函数

定义

public:
 ControllerGeneratorBase(Microsoft::VisualStudio::Web::CodeGeneration::Contracts::ProjectModel::IProjectContext ^ projectContext, Microsoft::VisualStudio::Web::CodeGeneration::DotNet::IApplicationInfo ^ applicationInfo, Microsoft::VisualStudio::Web::CodeGeneration::ICodeGeneratorActionsService ^ codeGeneratorActionsService, IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Web::CodeGeneration::ILogger ^ logger);
public ControllerGeneratorBase (Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext projectContext, Microsoft.VisualStudio.Web.CodeGeneration.DotNet.IApplicationInfo applicationInfo, Microsoft.VisualStudio.Web.CodeGeneration.ICodeGeneratorActionsService codeGeneratorActionsService, IServiceProvider serviceProvider, Microsoft.VisualStudio.Web.CodeGeneration.ILogger logger);
new Microsoft.VisualStudio.Web.CodeGenerators.Mvc.Controller.ControllerGeneratorBase : Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext * Microsoft.VisualStudio.Web.CodeGeneration.DotNet.IApplicationInfo * Microsoft.VisualStudio.Web.CodeGeneration.ICodeGeneratorActionsService * IServiceProvider * Microsoft.VisualStudio.Web.CodeGeneration.ILogger -> Microsoft.VisualStudio.Web.CodeGenerators.Mvc.Controller.ControllerGeneratorBase
Public Sub New (projectContext As IProjectContext, applicationInfo As IApplicationInfo, codeGeneratorActionsService As ICodeGeneratorActionsService, serviceProvider As IServiceProvider, logger As ILogger)

参数

projectContext
IProjectContext
applicationInfo
IApplicationInfo
codeGeneratorActionsService
ICodeGeneratorActionsService
serviceProvider
IServiceProvider
logger
ILogger

适用于