Table of Contents

Class Expression<T>

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

Type Parameters

T
Inheritance
Expression<T>
Inherited Members

Constructors

Expression()

public Expression()

Expression(string)

public Expression(string code)

Parameters

code string

Expression(string, string)

public Expression(string code, string text)

Parameters

code string
text string

Properties

Code

public string Code { get; set; }

Property Value

string

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.