Ejemplo n.º 1
0
        public static StringReader GetOutputReader(this CommandLineInvocationResult result)
        {
            var reader = new StringReader(result.GetOutputText());

            return(reader);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Trims the output text (including any ending \r\n from the output).
        /// </summary>
        public static string GetOutputTextTrimmed(this CommandLineInvocationResult result)
        {
            var output = result.GetOutputText().Trim();

            return(output);
        }