Show / Hide Table of Contents

Interface IGetsValueFromObject

An object which traverses a specified object to get a value of a specified name.

Namespace: ZptSharp.Expressions.PathExpressions
Assembly: ZptSharp.dll
Syntax
public interface IGetsValueFromObject

Methods

| Improve this Doc View Source

TryGetValueAsync(String, Object, CancellationToken)

Attempts to get a value for a named reference, from the specified object.

Declaration
Task<GetValueResult> TryGetValueAsync(string name, object object, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String name

The value name.

System.Object object

The object from which to retrieve the value.

System.Threading.CancellationToken cancellationToken

An optional cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<GetValueResult>

An object indicating whether a value was successfully retrieved or not, along with the retrieved value (if applicable).

  • Improve this Doc
  • View Source
In This Article
  • Methods
    • TryGetValueAsync(String, Object, CancellationToken)
Back to top Generated by DocFX