C# Class ComponentFactory.Quicksilver.Binding.EvalNodeConditional

EvalNode that represents the ?: conditional.
Inheritance: EvalNode
Show file Open project: ComponentFactory/Quicksilver

Public Methods

Method Description
EvalNodeConditional ( EvalNode child1, EvalNode child2 ) : System

Instantiate a new instance of the EvalNodeConditional node.

Evaluate ( object thisObject ) : EvalResult

Evalaute this node and return result.

ToString ( ) : string

Human readable version of the algebraic expression.

Method Details

EvalNodeConditional() public method

Instantiate a new instance of the EvalNodeConditional node.
public EvalNodeConditional ( EvalNode child1, EvalNode child2 ) : System
child1 EvalNode Specifies the first child.
child2 EvalNode Specifies the second child.
return System

Evaluate() public method

Evalaute this node and return result.
public Evaluate ( object thisObject ) : EvalResult
thisObject object Reference to object that is exposed as 'this'.
return EvalResult

ToString() public method

Human readable version of the algebraic expression.
public ToString ( ) : string
return string