ProcessOutput Class
Represents a single line of process output with its stream type and UTC timestamp.
public sealed class ProcessOutputProperties
| Name | Description |
|---|---|
| Text | Gets the text content of this output line. |
| TimestampUtc | Gets the UTC timestamp at which this output line was captured. |
| Type | Gets the type of output stream this line came from. |
Text
ProcessOutput.csTimestampUtc
ProcessOutput.csType
ProcessOutput.csGets the type of output stream this line came from.
public ProcessOutputType Type { get; }Property value
Methods
| Name | Description |
|---|---|
| Deconstruct(ProcessOutputType, string) | Deconstructs the output into its type and text components. |
| Deconstruct(ProcessOutputType, string, DateTime) | Deconstructs the output into its type, text, and UTC timestamp components. |
| ToString() | Returns a string that represents the current object. |
Deconstruct overloads
Deconstruct(ProcessOutputType, string)
ProcessOutput.csDeconstructs the output into its type and text components.
public void Deconstruct(out ProcessOutputType type, out string text)Parameters
typeProcessOutputTypetextstring
Deconstruct(ProcessOutputType, string, DateTime)
ProcessOutput.csDeconstructs the output into its type, text, and UTC timestamp components.
public void Deconstruct(out ProcessOutputType type, out string text, out DateTime timestampUtc)Parameters
typeProcessOutputTypetextstringtimestampUtcDateTime