public class ScriptLoader| ScriptLoader | Create script loader |
| AdditionalDependencies | Additional user defined dependencies, separated by ; (semi-colon) |
| Assemblies | List of assemblies corresponding to different sript IDs ScriptIds. |
| Count | Number of script classes found |
| Dependencies | Default dependencies for MIKE 1D engine |
| IncludeDebugInformation | Include debug information in script, to support debugging of script code |
| ScriptIds | IDs of different scripts. |
| AddAssembly | Add an assembly corresponding to a script ID. |
| AddCustomParameters | Add custom parameters to method invocation parameters. |
| AllDependencies | All dependencies, joining Dependencies and AdditionalDependencies |
| CheckParameters | Check that the input arguments to the scripting methods are matching the specified input types. |
| CompileFromSource(FilePath) | Compile script from source file |
| CompileFromSource(String, String) | Compile script from string source (stored in DB or similar) |
| CompileFromSources | Compile script from string sources (stored in DB or similar) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Execute | Handle list of input arguments for script methods and execture them. |
| ExecuteMethodsT | Execute script methods. |
| ExecuteScriptMethod | Execute script method |
| ExpandAdditionalDependencies | In case the AdditionalDependencies contains "macro" definitions, i.e. starts with one of "$(Setup)", "$(Engine)" or "$(Exe)", these are expanded to full paths. |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| FindScripts(ListType) | Find script methods in compiled script assembly |
| FindScripts(String, Assembly, ListType) | Find script methods in compiled script assembly |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| GetTypeMethods | Get list of methods for a specific type of argument. |
| HandleScriptFile | Handle scripts in .cs file. |
| HandleScriptInfos | Handle scripts stored as list of ScriptInfos |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| OnControllerCreated | Method to assign to the ControllerCreatedEvent. |
| SetCustomScriptParameters |
Set Script parameters on the form:
scriptParameters = "par1=value1;par2=value2;"
|
| SetupScriptParameters | Setup script parameters and additional data. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| ValidateScriptMethods | Validate script methods. |
| ValidateScriptMethods(ListListType) | Validate script methods and its arguments. |
| _diagnostics | Diagnostics object, for reporting errors. |
| _types | Types (classes) that are to be instantiated. |
| CustomParameters | Values for method parameters, read from the command line |