Click or drag to resize

IFunctionEvaluationScriptText Methods

The IFunctionEvaluationScriptText type exposes the following members.

Methods
 NameDescription
Public methodClearErrors Clears the errors.
(Inherited from IScriptText)
Public methodCloneCreates a new object that is a copy of the current instance.
(Inherited from ICloneable)
Public methodCloneForModification This clones the script so that the text can be modified.
(Inherited from IScriptText)
Public methodCompile Does the compilation of the script into an assembly. If it was not compiled before or is dirty, it is compiled first. From the compiled assembly, a new instance of the newly created script class is created and stored in m_ScriptObject.
(Inherited from IScriptText)
Public methodCopyFrom Copies the content of a script to here.
(Inherited from IScriptText)
Public methodEvaluate Executes the script. If no instance of the script object exists, a error message will be stored and the return value is false. If the script object exists, the function "EvalulateFunctionValue" will be called with the provided parameter x. If this function throws an exception, the value double.NaN will be returned.
Public methodSetCompilerResult
(Inherited from IScriptText)
Top
See Also