public ConfigProvider(IFileSystem fileSystem, ILog log, IConfigFileLocator configFileLocator, IOptions <GitVersionOptions> options, IConfigInitWizard configInitWizard, IGitRepositoryInfo repositoryInfo) { this.fileSystem = fileSystem.NotNull(); this.log = log.NotNull(); this.configFileLocator = configFileLocator.NotNull(); this.options = options.NotNull(); this.configInitWizard = configInitWizard.NotNull(); this.repositoryInfo = repositoryInfo.NotNull(); }
public GitVersionCacheKeyFactory(IFileSystem fileSystem, ILog log, IOptions <GitVersionOptions> options, IConfigFileLocator configFileLocator, IGitRepository gitRepository, IGitRepositoryInfo repositoryInfo) { this.fileSystem = fileSystem.NotNull(); this.log = log.NotNull(); this.options = options.NotNull(); this.configFileLocator = configFileLocator.NotNull(); this.gitRepository = gitRepository.NotNull(); this.repositoryInfo = repositoryInfo.NotNull(); }
public GitPreparer(ILog log, IEnvironment environment, ICurrentBuildAgent?buildAgent, IOptions <GitVersionOptions> options, IMutatingGitRepository repository, IGitRepositoryInfo repositoryInfo, IRepositoryStore repositoryStore) { this.log = log.NotNull(); this.environment = environment.NotNull(); this.repository = repository.NotNull(); this.options = options.NotNull(); this.repositoryInfo = repositoryInfo.NotNull(); this.repositoryStore = repositoryStore.NotNull(); this.buildAgent = buildAgent; this.retryAction = new RetryAction <LockedFileException>(); }
public GitVersionExecutor(ILog log, IConsole console, IConfigFileLocator configFileLocator, IConfigProvider configProvider, IGitVersionCalculateTool gitVersionCalculateTool, IGitVersionOutputTool gitVersionOutputTool, IVersionWriter versionWriter, IHelpWriter helpWriter, IGitRepositoryInfo repositoryInfo) { this.log = log.NotNull(); this.console = console.NotNull(); this.configFileLocator = configFileLocator.NotNull(); this.configProvider = configProvider.NotNull(); this.gitVersionCalculateTool = gitVersionCalculateTool.NotNull(); this.gitVersionOutputTool = gitVersionOutputTool.NotNull(); this.versionWriter = versionWriter.NotNull(); this.helpWriter = helpWriter.NotNull(); this.repositoryInfo = repositoryInfo.NotNull(); }
public GitVersionCache(IFileSystem fileSystem, ILog log, IGitRepositoryInfo repositoryInfo) { this.fileSystem = fileSystem.NotNull(); this.log = log.NotNull(); this.repositoryInfo = repositoryInfo.NotNull(); }