Interface IWalksAndEvaluatesPathExpression
An object which can walk a path described by an PathExpression.AlternateExpression and get a result.
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 |
---|---|---|
PathExpression.AlternateExpression | path | The path the walk/traverse. |
PathEvaluationContext | context | A path evaluation context. |
System.Threading.CancellationToken | cancellationToken | Cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Object> | The evaluation result from walking the path & context. |