예제 #1
0
        private void GetOutput(string line)
        {
            var    texts = cronJob.CheckLine(line);
            string text  = string.Join('\n', texts);

            output.WriteLine(text);
        }
        private void GetOutput(string line, string errorCode)
        {
            var    texts = cronJob.CheckLine(line);
            string warn  = texts.SingleOrDefault(w => w.Contains(errorCode));

            output.WriteLine(warn);
        }