Skip to the content.

PipeAndFilter API:ResultPipeAndFilter

Build License NuGet Downloads

Back to List Api

ResultPipeAndFilter<T>

Namespace: PipeFilterCore

Represents the result of PipeAndFilter.

public struct ResultPipeAndFilter<T>

Type Parameters

T

Inheritance ObjectValueTypeResultPipeAndFilter<T>

Properties

Aborted

If aborted.

public bool Aborted { get; }

Property Value

Boolean

Elapsedtime

Total Elapsedtime

public TimeSpan Elapsedtime { get; }

Property Value

TimeSpan

Exception

The exception (pipe,condition or task), if any.

public PipeAndFilterException Exception { get; }

Property Value

PipeAndFilterException

Status

The status details of all pipes.

public ImmutableArray<PipeRanStatus> Status { get; }

Property Value

ImmutableArray<PipeRanStatus>

Value

The Contract value.

public T Value { get; }

Property Value

T

Constructors

ResultPipeAndFilter()

Create Result of PipeAndFilter.
Do not use this constructor!

ResultPipeAndFilter()

Exceptions

PipeAndFilterException
Message error.

ResultPipeAndFilter(T, Boolean, PipeAndFilterException, ImmutableArray<PipeRanStatus>)

Create Result of PipeAndFilter (Only internal use or Unit-Test).

ResultPipeAndFilter(T value, bool aborted, PipeAndFilterException exception, ImmutableArray<PipeRanStatus> status)

Parameters

value T
The contract value.

aborted Boolean
If aborted.

exception PipeAndFilterException
The exception, if any.

status ImmutableArray<PipeRanStatus>
Detailed running status of all pipes.


Back to List Api