Table of Contents

Method EvaluateExpressionAsync

Namespace
Alternet.Scripter
Assembly
Alternet.Scripter.v9.dll

EvaluateExpressionAsync(string, CancellationToken)

Evaluates specified expression asynchronously.

public Task<object> EvaluateExpressionAsync(string expression, CancellationToken cancellationToken = default)

Parameters

expression string

Expression to execute.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<object>

An object containing return value of the expression being evaluated.