IExpressionNode Interface

Definition

C#
public interface IExpressionNode
Derived

Methods

Evaluate(ITraceWriter, ISecretMasker, Object, EvaluationOptions)

Evaluates the expression and returns the result.

Evaluate<T>(ITraceWriter, ISecretMasker, Object, EvaluationOptions)

Evaluates the expression and attempts to cast or deserialize the result to the specified type. The specified type can either be simple type or a JSON-serializable class. Allowed simple types are: Boolean, String, Version, Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, or Decimal. When a JSON-serializable class is specified, the following rules are applied: If the type of the evaluation result object, is assignable to the specified type, then the result will be cast and returned. If the evaluation result object is a String, it will be deserialized as the specified type. If the evaluation result object is null, null will be returned.

Evaluate<T>(ITraceWriter, ISecretMasker, Object)

Evaluates the expression and attempts to cast or deserialize the result to the specified type. The specified type can either be simple type or a JSON-serializable class. Allowed simple types are: Boolean, String, Version, Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, or Decimal. When a JSON-serializable class is specified, the following rules are applied: If the type of the evaluation result object, is assignable to the specified type, then the result will be cast and returned. If the evaluation result object is a String, it will be deserialized as the specified type. If the evaluation result object is null, null will be returned.

EvaluateBoolean(ITraceWriter, ISecretMasker, Object)

Evaluates the expression and casts the result to a Boolean.

GetParameters<T>()

Applies to

Táirge Leaganacha
Azure DevOps Services .NET SDK preview, latest