public GithubStatusValidator(DeprecatedOptions options) { _buildId = options.BuildId; _gitToken = options.GithubToken; _configs = options.Configurations.ToArray(); _teamcityService = new TeamCityServiceClient(options.TeamCityUrl, options.TeamCityToken); }
private static void DeprecatedMain(DeprecatedOptions options) { var filter = new Config.BlacklistFilter(new List <Config.IFilterData> { new Config.PrefixFilter("_"), new Config.PrefixFilter("?__"), new Config.PrefixFilter("??_"), new Config.PrefixFilter("??@"), new Config.PrefixFilter("?$TSS"), new Config.RegexFilter("std@@[QU]"), }); var cfg = new Config { InputFile = options.InputFile, OutputFile = options.OutputFile, PdbFile = options.PdbFile, DefFile = options.Definition, DllName = options.DllName, Filter = filter }; cfg.ApplyDefault(); RealMain(cfg, options.Verbose); }
private static void Run(DeprecatedOptions options) { var validator = new GithubStatusValidator(options); validator.RunAsync().Wait(); }