using System;
namespace Swan {
///
/// Represents the text of the standard output and standard error
/// of a process, including its exit code.
///
// [Obsolete("NEED", false)]
public class ProcessResult {
///
/// Initializes a new instance of the class.
///
/// The exit code.
/// The standard output.
/// The standard error.
public ProcessResult(Int32 exitCode, String standardOutput, String standardError) {
this.ExitCode = exitCode;
this.StandardOutput = standardOutput;
this.StandardError = standardError;
}
///
/// Gets the exit code.
///
///
/// The exit code.
///
public Int32 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;
}
}
}