Table of Contents

Method EvaluateExpressionAsync

Namespace
Alternet.Scripter.Debugger.ExpressionEvaluation
Assembly
Alternet.Scripter.Debugger.Common.v9.dll

EvaluateExpressionAsync(string, CancellationToken)

When implemented by a class, evaluates an expression based on the current stack frame. If the expression can be parsed but not evaluated, an object is returned but will not contain a valid value.

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

Parameters

expression string

Expression to evaluate.

cancellationToken CancellationToken

Propagates notification that operations should be canceled.

Returns

Task<EvaluationResult>

Result of evaluation.