Table of Contents

Class ValueSourceValueSource<T, TSource>

Namespace
Acuit.Pinpoint.Workflows
Assembly
Acuit.Pinpoint.Workflows.dll
public class ValueSourceValueSource<T, TSource> : ValueSource<T> where TSource : T

Type Parameters

T
TSource
Inheritance
ValueSourceValueSource<T, TSource>
Inherited Members

Constructors

ValueSourceValueSource()

public ValueSourceValueSource()

ValueSourceValueSource(ValueSource<TSource>)

public ValueSourceValueSource(ValueSource<TSource> source)

Parameters

source ValueSource<TSource>

Properties

Source

public ValueSource<TSource> Source { get; set; }

Property Value

ValueSource<TSource>

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.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.