Class ParameterValue<T>
- Namespace
- Acuit.Pinpoint.Workflows.Parameters
- Assembly
- Acuit.Pinpoint.Workflows.dll
public class ParameterValue<T> : ValueSource<T>
Type Parameters
T
- Inheritance
-
ValueSource<T>ParameterValue<T>
- Inherited Members
Constructors
ParameterValue()
public ParameterValue()
ParameterValue(string)
public ParameterValue(string parameterName)
Parameters
parameterName
string
ParameterValue(string, string)
public ParameterValue(string parameterName, string text)
Parameters
Properties
ParameterName
public string ParameterName { get; set; }
Property Value
Methods
EvaluateAsync(ActivityContext, CancellationToken)
Evaluates the value.
public override Task<T> EvaluateAsync(ActivityContext context, CancellationToken cancellationToken = default)
Parameters
context
ActivityContextThe activity context.
cancellationToken
CancellationTokenA 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.