Class GlobalVariablesOnlyTalesValueForExpressionContextAdapter
Implementation of IGets
Inheritance
System.Object
GlobalVariablesOnlyTalesValueForExpressionContextAdapter
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Expressions
Assembly: ZptSharp.dll
Syntax
public class GlobalVariablesOnlyTalesValueForExpressionContextAdapter : IGetsNamedTalesValue
Constructors
| Improve this Doc View SourceGlobalVariablesOnlyTalesValueForExpressionContextAdapter(ExpressionContext)
Initializes a new instance of the
Global
Declaration
public GlobalVariablesOnlyTalesValueForExpressionContextAdapter(ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
Expression |
context | Context. |
Properties
| Improve this Doc View SourceContext
Gets the expression context wrapped by the current instance.
Declaration
public ExpressionContext Context { get; }
Property Value
Type | Description |
---|---|
Expression |
The expression context. |
Methods
| Improve this Doc View SourceTryGetValueAsync(String, CancellationToken)
Attempts to get a value for a named reference, relative to the current instance.
Declaration
public Task<GetValueResult> TryGetValueAsync(string name, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the value to retrieve. |
System. |
cancellationToken | An optional cancellation token. |
Returns
Type | Description |
---|---|
System. |
An object indicating whether a value was successfully retrieved or not, along with the retrieved value (if applicable). |