// init public Tester(FileParams vars, ILogger logger = null) { this.vars = vars; this.logger = logger ?? new ConsoleLogger(); mainWatch = new Stopwatch(); stepWatch = new Stopwatch(); transactions = new List <ITransaction>(); this.clope = new Clope(transactions); logger.Write(); }
static bool IsParamsGood() { if (System.IO.File.Exists(fileParams.Filename)) { return(true); } else { Console.WriteLine("Bad params.\n"); Console.WriteLine(FileParams.GetHelp()); Console.ReadKey(); } return(false); }