public IdentityGenerator(IApplicationInfo applicationInfo, IServiceProvider serviceProvider, ICodeGeneratorActionsService actionService, IProjectContext projectContext, IConnectionStringsWriter connectionStringsWriter, Workspace workspace, ICodeGenAssemblyLoadContext loader, ILogger logger) { if (applicationInfo == null) { throw new ArgumentNullException(nameof(applicationInfo)); } if (serviceProvider == null) { throw new ArgumentNullException(nameof(serviceProvider)); } if (actionService == null) { throw new ArgumentNullException(nameof(actionService)); } if (projectContext == null) { throw new ArgumentNullException(nameof(projectContext)); } if (connectionStringsWriter == null) { throw new ArgumentNullException(nameof(connectionStringsWriter)); } if (workspace == null) { throw new ArgumentNullException(nameof(workspace)); } if (loader == null) { throw new ArgumentNullException(nameof(loader)); } if (logger == null) { throw new ArgumentNullException(nameof(logger)); } _applicationInfo = applicationInfo; _serviceProvider = serviceProvider; _codegeneratorActionService = actionService; _projectContext = projectContext; _connectionStringsWriter = connectionStringsWriter; _workspace = workspace; _loader = loader; _logger = logger; }
public DbContextEditorServices( IProjectContext projectContext, IApplicationInfo applicationInfo, IFilesLocator filesLocator, ITemplating templatingService, IConnectionStringsWriter connectionStringsWriter) : this(projectContext, applicationInfo, filesLocator, templatingService, connectionStringsWriter, DefaultFileSystem.Instance) { }
internal DbContextEditorServices( IProjectContext projectContext, IApplicationInfo applicationInfo, IFilesLocator filesLocator, ITemplating templatingService, IConnectionStringsWriter connectionStringsWriter, IFileSystem fileSystem) { _projectContext = projectContext; _applicationInfo = applicationInfo; _filesLocator = filesLocator; _templatingService = templatingService; _fileSystem = fileSystem; _connectionStringsWriter = connectionStringsWriter; }