| ScribuntoConsoleEvaluateAsync(String, CancellationToken) Method |
This is preliminary documentation and is subject to change.
Evaluates the specified Lua expression in the console.
Namespace: WikiClientLibrary.ScribuntoAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task<ScribuntoEvaluationResult> EvaluateAsync(
string expression,
CancellationToken cancellationToken
)
Public Function EvaluateAsync (
expression As String,
cancellationToken As CancellationToken
) As Task(Of ScribuntoEvaluationResult)
Dim instance As ScribuntoConsole
Dim expression As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ScribuntoEvaluationResult)
returnValue = instance.EvaluateAsync(expression,
cancellationToken)
public:
Task<ScribuntoEvaluationResult^>^ EvaluateAsync(
String^ expression,
CancellationToken cancellationToken
)
member EvaluateAsync :
expression : string *
cancellationToken : CancellationToken -> Task<ScribuntoEvaluationResult>
Parameters
- expression String
- The Lua expression to be evaluated.
- cancellationToken CancellationToken
- A token used to cancel the operation.
Return Value
TaskScribuntoEvaluationResultThe console evaluation result.
Exceptions See Also