Table of Contents

Class ConvertingValueSourceValueSource<T>

Namespace
Acuit.Pinpoint.Workflows
Assembly
Acuit.Pinpoint.Workflows.dll
public class ConvertingValueSourceValueSource<T> : ValueSource<T>

Type Parameters

T
Inheritance
ConvertingValueSourceValueSource<T>
Inherited Members

Constructors

ConvertingValueSourceValueSource()

public ConvertingValueSourceValueSource()

ConvertingValueSourceValueSource(ValueSource)

public ConvertingValueSourceValueSource(ValueSource source)

Parameters

source ValueSource

Properties

Source

public ValueSource? Source { get; set; }

Property Value

ValueSource

Methods

EvaluateAsync(ActivityContext, CancellationToken)

Evaluates the value.

public override Task<T> EvaluateAsync(ActivityContext context, CancellationToken cancellationToken = default)

Parameters

context ActivityContext

The activity context.

cancellationToken CancellationToken

A token that can request cancelling the evaluation.

Returns

Task<T>

A task that represents the asynchronous operation. The value of its Result property contains the resulting value.

Exceptions

ArgumentNullException

context is null.

Exception

The value could not be evaluated. Possible exceptions depend on the implementation.

ToString()

public override string ToString()

Returns

string