CxExpressionIf

Description

sealed class Tinman.Core.Cx.Expressions.CxExpressionIf

An expression that conditionally evaluates one of two choices:

a ? b : c

Public / Constructors

Cx​Expression​If


public constructor CxExpressionIf → (3)

condition in : CxExpression

[not-null]
See Condition.

expressionTrue in : CxExpression

[not-null]
See ExpressionTrue.

expressionFalse in : CxExpression

[not-null]
See ExpressionFalse.

Creates a new instance of CxExpressionIf.

Public / Attributes

Condition


[Constant]
public attribute Condition → (get)

value : CxExpression

[not-null]
The condition expression.

Returns the condition expression.

Expression​False


[Constant]
public attribute ExpressionFalse → (get)

value : CxExpression

[not-null]
The value expression.

Returns the expression to evaluate if the condition if false.

Expression​True


[Constant]
public attribute ExpressionTrue → (get)

value : CxExpression

[not-null]
The value expression.

Returns the expression to evaluate if the condition if true.