ProcessOutputCollection Class

A thread-safe collection of ProcessOutput lines.

Implements

Constructors

NameDescription
ProcessOutputCollection()Initializes a new empty ProcessOutputCollection.

ProcessOutputCollection()

ProcessOutputCollection.cs

Initializes a new empty ProcessOutputCollection.

public ProcessOutputCollection()

Properties

NameDescription
CountGets the number of output lines.
StandardErrorGets all output lines from the standard error stream.
StandardOutputGets all output lines from the standard output stream.

Gets the number of output lines.

public int Count { get; }

Property value

int

Gets all output lines from the standard error stream.

public IEnumerable<ProcessOutput> StandardError { get; }

Gets all output lines from the standard output stream.

public IEnumerable<ProcessOutput> StandardOutput { get; }

Indexers

NameDescription
this[int]Gets the output line at the specified index.

Gets the output line at the specified index.

public ProcessOutput this[int index] { get; }

Parameters

index int

Property value

ProcessOutput

Methods

NameDescription
GetEnumerator()Returns an enumerator that iterates through the collection.
System.Collections.IEnumerable.GetEnumerator()
ToString()Returns a string that represents the current object.

Returns an enumerator that iterates through the collection.

public IEnumerator<ProcessOutput> GetEnumerator()

Returns

IEnumerator<ProcessOutput> An enumerator that can be used to iterate through the collection.

System.Collections.IEnumerable.GetEnumerator()

ProcessOutputCollection.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.