MvcController 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
MvcController(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 MvcController (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.MvcController : 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.MvcController
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
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈