private void CreateScheduleExecute() { var input = IsFileInput ? _inputReader.ReadInputFromFile(_fileNameInput) : _inputReader.ReadInputFromString(TextInput); if (input.Length > 0) { ScheduleOutput = _scheduleCreator.CreateSchedule(input); } }
private void Run(string[] args) { Compose(); var input = _inputReader.ReadInputFromFile(args.Length >= 1 ? args[0] : @"Input\Input.txt"); var output = _scheduleCreator.CreateSchedule(input); Console.Write(output); Console.ReadLine(); }