Interface IWalksAndEvaluatesPathExpression
An object which can walk a path described by an Path
Namespace: ZptSharp.Expressions.PathExpressions
Assembly: ZptSharp.dll
Syntax
public interface IWalksAndEvaluatesPathExpression
Methods
| Improve this Doc View SourceWalkAndEvaluatePathExpressionAsync(PathExpression.AlternateExpression, PathEvaluationContext, CancellationToken)
Walks the specified path
using the specified context
and gets a result.
Declaration
Task<object> WalkAndEvaluatePathExpressionAsync(PathExpression.AlternateExpression path, PathEvaluationContext context, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
Path |
path | The path the walk/traverse. |
Path |
context | A path evaluation context. |
System. |
cancellationToken | Cancellation token. |
Returns
Type | Description |
---|---|
System. |
The evaluation result from walking the path & context. |