public SecurityGenerator(IConfiguration configuration, ITemplateEngine templateEngine, IProjectFileManager projectFileManager, IDepencyInjectionManager depencyInjectionManager, IFileSystem fileSystem, IWebConfigHelper webConfigHelper) : base(command, description) { this.configuration = configuration; this.templateEngine = templateEngine; this.projectFileManager = projectFileManager; this.depencyInjectionManager = depencyInjectionManager; this.fileSystem = fileSystem; this.webConfigHelper = webConfigHelper; }
public void SetUp() { configurationMock = MockRepository.GenerateMock<IConfiguration>(); projectFileManagerMock = MockRepository.GenerateMock<IProjectFileManager>(); depencyInjectionManagerMock = MockRepository.GenerateMock<IDepencyInjectionManager>(); fileSystemMock = MockRepository.GenerateMock<IFileSystem>(); var templateEngine = new TemplateEngine(fileSystemMock); serviceGenerator = new ServiceGenerator(templateEngine, configurationMock, projectFileManagerMock, depencyInjectionManagerMock); }
public ServiceGenerator(ITemplateEngine templateEngine, IConfiguration configuration, IProjectFileManager projectFileManager, IDepencyInjectionManager depencyInjectionManager) : base(command, description) { this.templateEngine = templateEngine; this.configuration = configuration; this.projectFileManager = projectFileManager; this.depencyInjectionManager = depencyInjectionManager; }
public void SetUp() { entityManagerMock = MockRepository.GenerateMock<IEntityManager>(); configurationMock = MockRepository.GenerateMock<IConfiguration>(); projectFileManagerMock = MockRepository.GenerateMock<IProjectFileManager>(); depencyInjectionManagerMock = MockRepository.GenerateMock<IDepencyInjectionManager>(); fileSystemMock = MockRepository.GenerateMock<IFileSystem>(); templateEngineMock = new TemplateEngine(fileSystemMock); repositoryGenerator = new RepositoryGenerator(entityManagerMock, templateEngineMock, configurationMock, projectFileManagerMock, depencyInjectionManagerMock); }
public void SetUp() { configurationMock = MockRepository.GenerateMock<IConfiguration>(); projectFileManagerMock = MockRepository.GenerateMock<IProjectFileManager>(); depencyInjectionManagerMock = MockRepository.GenerateMock<IDepencyInjectionManager>(); fileSystemMock = MockRepository.GenerateMock<IFileSystem>(); webConfigHelperMock = MockRepository.GenerateMock<IWebConfigHelper>(); var templateEngine = new TemplateEngine(fileSystemMock); securityGenerator = new SecurityGenerator(configurationMock, templateEngine, projectFileManagerMock, depencyInjectionManagerMock, fileSystemMock, webConfigHelperMock); }
public void SetUp() { configurationMock = MockRepository.GenerateMock<IConfiguration>(); projectFileManagerMock = MockRepository.GenerateMock<IProjectFileManager>(); depencyInjectionManagerMock = MockRepository.GenerateMock<IDepencyInjectionManager>(); fileSystemMock = MockRepository.GenerateMock<IFileSystem>(); entityManagerMock = MockRepository.GenerateMock<IEntityManager>(); autoMapperHelperMock = MockRepository.GenerateMock<IAutoMapperHelper>(); var templateEngine = new TemplateEngine(fileSystemMock); uiGenerator = new UiGenerator(entityManagerMock, templateEngine, configurationMock, projectFileManagerMock, depencyInjectionManagerMock, autoMapperHelperMock, fileSystemMock); }
public RepositoryGenerator(IEntityManager entityManager, ITemplateEngine templateEngine, IConfiguration configuration, IProjectFileManager projectFileManager, IDepencyInjectionManager depencyInjectionManager) : base(command, description) { this.entityManager = entityManager; this.templateEngine = templateEngine; this.configuration = configuration; this.projectFileManager = projectFileManager; this.depencyInjectionManager = depencyInjectionManager; }
public UiGenerator(IEntityManager entityManager, ITemplateEngine templateEngine, IConfiguration configuration, IProjectFileManager projectFileManager, IDepencyInjectionManager depencyInjectionManager, IAutoMapperHelper autoMapperHelper, IFileSystem fileSystem) : base(command, description) { this.entityManager = entityManager; this.templateEngine = templateEngine; this.configuration = configuration; this.projectFileManager = projectFileManager; this.depencyInjectionManager = depencyInjectionManager; this.autoMapperHelper = autoMapperHelper; this.fileSystem = fileSystem; }