Show / Hide Table of Contents

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 Source

WalkAndEvaluatePathExpressionAsync(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.

  • Improve this Doc
  • View Source
In This Article
  • Methods
    • WalkAndEvaluatePathExpressionAsync(PathExpression.AlternateExpression, PathEvaluationContext, CancellationToken)
Back to top Generated by DocFX