Sage Modeling and Simulation Library

EvaluatorFactory..::..CreateEvaluator Method (String, array<String>[]()[][])

Creates an Evaluator with the specified body and argument names.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)


public static Evaluator CreateEvaluator(
	string body,
	string[] argNames


Type: String
The body of the statement that will be evaluated.
Type: array<String>[]()[][]
The names of the arguments provided to that evaluator. Note that it must include the names of all non-intrinsic variables in the statement.

Return Value

A delegate behind which is the evaluator generated from compiling the provided statement.