namespace Unosquare.Swan.Components { /// /// Represents the text of the standard output and standard error /// of a process, including its exit code. /// public class ProcessResult { /// /// Initializes a new instance of the class. /// /// The exit code. /// The standard output. /// The standard error. public ProcessResult(int exitCode, string standardOutput, string standardError) { ExitCode = exitCode; StandardOutput = standardOutput; StandardError = standardError; } /// /// Gets the exit code. /// /// /// The exit code. /// public int ExitCode { get; } /// /// Gets the text of the standard output. /// /// /// The standard output. /// public string StandardOutput { get; } /// /// Gets the text of the standard error. /// /// /// The standard error. /// public string StandardError { get; } } }