C# Class Arithmetica.MathExpressionContext

The math expression evaluation context.
ファイルを表示 Open project: patriksvensson/arithmetica

Public Methods

Method Description
Define ( string variable, MathExpression expression ) : void
Define ( string variable, double value ) : void
Forget ( string variable ) : void
MathExpressionContext ( ) : System
Resolve ( string variable ) : MathExpression

Private Methods

Method Description
ResolveSafe ( string variable ) : MathExpression

Method Details

Define() public method

public Define ( string variable, MathExpression expression ) : void
variable string
expression MathExpression
return void

Define() public method

public Define ( string variable, double value ) : void
variable string
value double
return void

Forget() public method

public Forget ( string variable ) : void
variable string
return void

MathExpressionContext() public method

public MathExpressionContext ( ) : System
return System

Resolve() public method

public Resolve ( string variable ) : MathExpression
variable string
return MathExpression