Table of Contents

Class Reading

Namespace
Acuit.Pinpoint.Workflows.Testing.IO
Assembly
Acuit.Pinpoint.Workflows.Testing.dll

A reading data source.

public class Reading : ValueSource<IDataSource>
Inheritance
Reading
Inherited Members

Constructors

Reading()

public Reading()

Reading(string)

public Reading(string readingName)

Parameters

readingName string

Properties

ReadingName

public string ReadingName { get; set; }

Property Value

string

Methods

EvaluateAsync(ActivityContext, CancellationToken)

Evaluates the value.

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

Parameters

context ActivityContext

The activity context.

cancellationToken CancellationToken

A token that can request cancelling the evaluation.

Returns

Task<IDataSource>

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()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.