Click or drag to resize

ScribuntoConsoleEvaluateAsync(String, CancellationToken) Method

This is preliminary documentation and is subject to change.

Evaluates the specified Lua expression in the console.

Namespace: WikiClientLibrary.Scribunto
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task<ScribuntoEvaluationResult> EvaluateAsync(
	string expression,
	CancellationToken cancellationToken
)

Parameters

expression  String
The Lua expression to be evaluated.
cancellationToken  CancellationToken
A token used to cancel the operation.

Return Value

TaskScribuntoEvaluationResult
The console evaluation result.
Exceptions
ExceptionCondition
ScribuntoConsoleExceptionThere is Scribunto console error evaluating module content.
See Also