Click or drag to resize

ScriptLoader Class

Class for loading, compiling and executing MIKE 1D scripts
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.PluginsScriptLoader

Namespace:  DHI.Mike1D.Plugins
Assembly:  DHI.Mike1D.Mike1DDataAccess (in DHI.Mike1D.Mike1DDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class ScriptLoader

The ScriptLoader type exposes the following members.

Constructors
  NameDescription
Public methodScriptLoader
Create script loader
Top
Properties
  NameDescription
Public propertyAdditionalDependencies
Additional user defined dependencies, separated by ; (semi-colon)
Public propertyCount
Number of script classes found
Public propertyDependencies
Default dependencies for MIKE 1D engine
Public propertyIncludeDebugInformation
Include debug information in script, to support debugging of script code
Top
Methods
  NameDescription
Protected methodAddCustomParameters
Add custom parameters to method invocation parameters.
Public methodAllDependencies
Public methodCompileFromSource(IFilePath)
Compile script from source file
Public methodCompileFromSource(String, String)
Compile script from string source (stored in DB or similar)
Public methodCompileFromSources
Compile script from string sources (stored in DB or similar)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecuteScriptMethod
Execute script method
Public methodExecuteSetupMethods
Execute all script methods working on the Mike1DData class
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFindScripts
Find script methods in compiled script assembly
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnControllerCreated
Method to assign to the ControllerCreatedEvent.
Public methodSetCustomScriptParameters
Set Script parameters on the form:
scriptParameters = "par1=value1;par2=value2;"
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_diagnostics
Diagnostics object, for reporting errors.
Protected field_types
Types (classes) that are to be instantiated.
Public fieldCustomParameters
Values for method parameters, read from the command line
Top
See Also