ControllerWithContextGenerator Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
ControllerWithContextGenerator(Microsoft::VisualStudio::Web::CodeGeneration::Contracts::ProjectModel::IProjectContext ^ projectContext, Microsoft::VisualStudio::Web::CodeGeneration::DotNet::IApplicationInfo ^ applicationInfo, Microsoft::VisualStudio::Web::CodeGeneration::IModelTypesLocator ^ modelTypesLocator, Microsoft::VisualStudio::Web::CodeGeneration::EntityFrameworkCore::IEntityFrameworkService ^ entityFrameworkService, Microsoft::VisualStudio::Web::CodeGeneration::ICodeGeneratorActionsService ^ codeGeneratorActionsService, IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Web::CodeGeneration::ILogger ^ logger);
public ControllerWithContextGenerator (Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext projectContext, Microsoft.VisualStudio.Web.CodeGeneration.DotNet.IApplicationInfo applicationInfo, Microsoft.VisualStudio.Web.CodeGeneration.IModelTypesLocator modelTypesLocator, Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.IEntityFrameworkService entityFrameworkService, Microsoft.VisualStudio.Web.CodeGeneration.ICodeGeneratorActionsService codeGeneratorActionsService, IServiceProvider serviceProvider, Microsoft.VisualStudio.Web.CodeGeneration.ILogger logger);
new Microsoft.VisualStudio.Web.CodeGenerators.Mvc.Controller.ControllerWithContextGenerator : Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext * Microsoft.VisualStudio.Web.CodeGeneration.DotNet.IApplicationInfo * Microsoft.VisualStudio.Web.CodeGeneration.IModelTypesLocator * Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.IEntityFrameworkService * Microsoft.VisualStudio.Web.CodeGeneration.ICodeGeneratorActionsService * IServiceProvider * Microsoft.VisualStudio.Web.CodeGeneration.ILogger -> Microsoft.VisualStudio.Web.CodeGenerators.Mvc.Controller.ControllerWithContextGenerator
Public Sub New (projectContext As IProjectContext, applicationInfo As IApplicationInfo, modelTypesLocator As IModelTypesLocator, entityFrameworkService As IEntityFrameworkService, codeGeneratorActionsService As ICodeGeneratorActionsService, serviceProvider As IServiceProvider, logger As ILogger)
Parameters
- projectContext
- IProjectContext
- applicationInfo
- IApplicationInfo
- modelTypesLocator
- IModelTypesLocator
- entityFrameworkService
- IEntityFrameworkService
- codeGeneratorActionsService
- ICodeGeneratorActionsService
- serviceProvider
- IServiceProvider
- logger
- ILogger