Show / Hide Table of Contents

Interface IProcessRunnerResult

Represents the result of a process execution.

Namespace: Benday.Common
Assembly: Benday.Common.dll
Syntax
public interface IProcessRunnerResult

Properties

| Edit this page View Source

ErrorText

The standard error text from the process.

Declaration
string ErrorText { get; }
Property Value
Type Description
string
| Edit this page View Source

ExitCode

The exit code from the process. Returns -1 if not yet completed.

Declaration
int ExitCode { get; }
Property Value
Type Description
int
| Edit this page View Source

HasCompleted

Indicates if the process has completed (either successfully or with error).

Declaration
bool HasCompleted { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsError

Indicates if the process completed with an error (non-zero exit code).

Declaration
bool IsError { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsSuccess

Indicates if the process completed successfully (zero exit code).

Declaration
bool IsSuccess { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsTimeout

Indicates if the process timed out.

Declaration
bool IsTimeout { get; }
Property Value
Type Description
bool
| Edit this page View Source

OutputText

The standard output text from the process.

Declaration
string OutputText { get; }
Property Value
Type Description
string

Extension Methods

ObjectAssertExtensions.ShouldBeNull<T>(T?, string)
ObjectAssertExtensions.ShouldBeSameAs<T>(T, T, string)
ObjectAssertExtensions.ShouldEqual<T>(T, T, string)
ObjectAssertExtensions.ShouldNotBeNull<T>(T?, string)
ObjectAssertExtensions.ShouldNotBeSameAs<T>(T, T, string)
ObjectAssertExtensions.ShouldNotEqual<T>(T, T, string)
ObjectAssertExtensions.ShouldBeOfType<T>(object?, string)
ObjectAssertExtensions.ShouldNotBeOfType<T>(object?, string)
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com