FunctionNode Class

Definition

C#
public abstract class FunctionNode : Microsoft.TeamFoundation.DistributedTask.Expressions.ContainerNode
Inheritance
Derived

Constructors

Properties

Name

The name is used for tracing. Normally the parser will set the name. However if a node is added manually, then the name may not be set and will fallback to the type name.

(Inherited from ExpressionNode)
Parameters (Inherited from ContainerNode)
TraceFullyRealized

Generally this should not be overridden. True indicates the result of the node is traced as part of the "expanded" (i.e. "realized") trace information. Otherwise the node expression is printed, and parameters to the node may or may not be fully realized - depending on each respective parameter's trace-fully-realized setting.

The purpose is so the end user can understand how their expression expanded at run time. For example, consider the expression: eq(variables.publish, 'true'). The runtime-expanded expression may be: eq('true', 'true')

Methods

AddParameter(ExpressionNode) (Inherited from ContainerNode)
CreateMemoryCounter(EvaluationContext) (Inherited from ExpressionNode)
Evaluate(EvaluationContext)

This function is intended only for ExpressionNode authors to call. The EvaluationContext caches result-state specific to the evaluation instance.

(Inherited from ExpressionNode)
Evaluate(ITraceWriter, ISecretMasker, Object, EvaluationOptions)

INode entry point.

(Inherited from ExpressionNode)
Evaluate<T>(ITraceWriter, ISecretMasker, Object, EvaluationOptions)

INode entry point.

(Inherited from ExpressionNode)
Evaluate<T>(ITraceWriter, ISecretMasker, Object)

INode entry point.

(Inherited from ExpressionNode)
EvaluateBoolean(EvaluationContext)

This function is intended only for ExpressionNode authors to call during evaluation. The EvaluationContext caches result-state specific to the evaluation instance.

(Inherited from ExpressionNode)
EvaluateBoolean(ITraceWriter, ISecretMasker, Object)

INode entry point.

(Inherited from ExpressionNode)
EvaluateCore(EvaluationContext) (Inherited from ExpressionNode)
EvaluateDateTime(EvaluationContext)

This function is intended only for ExpressionNode authors to call during evaluation. The EvaluationContext caches result-state specific to the evaluation instance.

(Inherited from ExpressionNode)
EvaluateNumber(EvaluationContext)

This function is intended only for ExpressionNode authors to call during evaluation. The EvaluationContext caches result-state specific to the evaluation instance.

(Inherited from ExpressionNode)
EvaluateString(EvaluationContext)

This function is intended only for ExpressionNode authors to call during evaluation. The EvaluationContext caches result-state specific to the evaluation instance.

(Inherited from ExpressionNode)
EvaluateVersion(EvaluationContext)

This function is intended only for ExpressionNode authors to call during evaluation. The EvaluationContext caches result-state specific to the evaluation instance.

(Inherited from ExpressionNode)
GetParameters<T>() (Inherited from ContainerNode)
ReplaceParameter(Int32, ExpressionNode) (Inherited from ContainerNode)

Applies to

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