public DerivationChecker(DerivationOptions options) { _github = new GithubApi(options.GithubToken); _teamcityApi = new TeamCityServiceClient(options.TeamCityUrl, options.TeamCityToken); _git = new Git(options.Repository); _buildId = options.BuildId; _scoped = options.IsScoped; _derivation = options.Derivation; _dryRun = options.DryRun; _output = options.Output; }
private static void Run(DerivationOptions options) { var checker = new DerivationChecker(options); checker.RunAsync().Wait(); }