C# Class Grasp.Calculation

The unit of logic in a schema
Show file Open project: bwatts/Grasp Class Usage Examples

Public Methods

Method Description
Calculation ( Variable outputVariable, Expression expression ) : System

Initializes a calculation with the specified output variable and expression

ToString ( ) : string

Gets a textual representation of this calculation

Method Details

Calculation() public method

Initializes a calculation with the specified output variable and expression
public Calculation ( Variable outputVariable, Expression expression ) : System
outputVariable Variable The variable to which the output of this calculation is assigned
expression System.Linq.Expressions.Expression The expression tree which defines the body of this calculation
return System

ToString() public method

Gets a textual representation of this calculation
public ToString ( ) : string
return string