Click or drag to resize

IEvaluatorLoadFile Method

Overload List
  NameDescription
Public methodCode exampleLoadFile(String, Object)
Evaluates and loads C# code from the specified file to the current AppDomain. Returns instance of the first class defined in the script file.
Public methodCode exampleLoadFileT(String, Object)
Evaluates and loads C# code from the specified file to the current AppDomain. Returns instance of the first class defined in the script file. After initializing the class instance it is aligned to the interface specified by the parameter T.

Note: the script class does not have to inherit from the T parameter as the proxy type will be generated anyway.

Top
See Also