Language

ExpressionValue<T> Class

Definition

Provides a mechanism for performing delayed evaluation of a value based on the environment context at runtime.

[System.Runtime.Serialization.DataContract]
public sealed class ExpressionValue<T> : Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionValue
type ExpressionValue<'T> = class
    inherit ExpressionValue
Public NotInheritable Class ExpressionValue(Of T)
Inherits ExpressionValue

Type Parameters

T

The type of value

Inheritance
ExpressionValue<T>
Attributes

Constructors

Name Description
ExpressionValue<T>(String)

Initializes a new ExpressionValue instance with the specified string value. If the value provided is an expression the value will be evaluated at runtime based on the execution context.

ExpressionValue<T>(T)

Initializes a new ExpressionValue instance with the specified literal value.

Methods

Name Description
GetValue(IPipelineContext)

Retrieves the referenced value from the provided execution context.

GetValue(PipelineExecutionContext)

Retrieves the referenced value from the provided execution context.

ToString()

Converts the value to a string representation.

Operators

Name Description
Implicit(String to ExpressionValue<T>)
Implicit(T to ExpressionValue<T>)

Applies to