ScriptLoader Class |
Namespace: DHI.Mike1D.Plugins
The ScriptLoader type exposes the following members.
Name | Description | |
---|---|---|
ScriptLoader |
Create script loader
|
Name | Description | |
---|---|---|
AdditionalDependencies |
Additional user defined dependencies, separated by ; (semi-colon)
| |
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
|
Name | Description | |
---|---|---|
AddCustomParameters |
Add custom parameters to method invocation parameters.
| |
AllDependencies |
All dependencies, joining Dependencies and AllDependencies | |
CompileFromSource(IFilePath) |
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.) | |
ExecuteScriptMethod |
Execute script method
| |
ExecuteSetupMethods |
Execute all script methods working on the Mike1DData class
| |
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 |
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.) | |
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;" | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
_diagnostics |
Diagnostics object, for reporting errors.
| |
_types |
Types (classes) that are to be instantiated.
| |
CustomParameters |
Values for method parameters, read from the command line
|