CxExpressionIf

Description

sealed class Tinman.Core.Cx.Expressions.CxExpressionIf

Derived from

CxExpression abstract

An expression that conditionally evaluates one of two choices:

a ? b : c

Public / Constructors

CxExpressionIf


public constructor CxExpressionIf → (3)

condition in : CxExpression

[not-null]
See Condition.

valueTrue in : CxExpression

[not-null]
See ValueTrue.

valueFalse in : CxExpression

[not-null]
See ValueFalse.

Creates a new instance of CxExpressionIf.

Public / Attributes

Condition


public attribute Condition → (get)

value : CxExpression

[not-null]
The condition expression.

Returns the condition expression.

ValueFalse


public attribute ValueFalse → (get)

value : CxExpression

[not-null]
The value expression.

Returns the expression to evaluate if the condition if false.

ValueTrue


public attribute ValueTrue → (get)

value : CxExpression

[not-null]
The value expression.

Returns the expression to evaluate if the condition if true.