ControllerGeneratorBase 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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