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)

Syntax


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

Parameters

body
Type: String
The body of the statement that will be evaluated.
argNames
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.