C# Class Grasp.GraspSchema

A context in which a set of variables and a set of calculations are in effect
Mostra file Open project: bwatts/Grasp Class Usage Examples

Public Methods

Method Description
Compile ( ) : GraspExecutable

Gets an executable version of this schema which applies its calculations

GraspSchema ( IEnumerable variables, IEnumerable calculations ) : System

Initializes a schema with the specified variables and calculations

Method Details

Compile() public method

Gets an executable version of this schema which applies its calculations
/// Throw if any calculation references a variable that is not defined in either or as the output variable of another calculation /// -or- any calculation's result type is not assignable to its output variable type -or- any calculation contains a cycle -or- any calculation contains /// an invalid expression tree -or- there is any other error while compiling this schema
public Compile ( ) : GraspExecutable
return Grasp.Compilation.GraspExecutable

GraspSchema() public method

Initializes a schema with the specified variables and calculations
public GraspSchema ( IEnumerable variables, IEnumerable calculations ) : System
variables IEnumerable The variables in effect for this schema
calculations IEnumerable The calculations in effect for this schema
return System