Contains information on a loaded and compiled C# script file.
More...
|
| Script (string ScriptFilename, bool ThrowExceptions=false) |
| Initializes a new instance of the Script class.
Loads and compiles the specified script file. More...
|
|
| Script (FileInfo ScriptFile, bool ThrowExceptions=false) |
| Initializes a new instance of the Script class.
Loads and compiles the specified script file. More...
|
|
| Script () |
| Initializes a new instance of the Script class. More...
|
|
|
FileInfo | File [get, set] |
| FileInfo object for the Scriptfile. More...
|
|
bool | Compiled [get] |
| Indicates whether the script file has been successfully loaded and compiled. More...
|
|
Exception | CompilationException [get, set] |
| If a error occurs during compilation, this property contains the Exception which was thrown. More...
|
|
Assembly | Assembly [get, set] |
| Holds a reference to the Assembly for the loaded script file. More...
|
|
Contains information on a loaded and compiled C# script file.
Definition at line 12 of file Script.cs.
DirectOutput.Scripting.Script.Script |
( |
string |
ScriptFilename, |
|
|
bool |
ThrowExceptions = false |
|
) |
| |
|
inline |
Initializes a new instance of the Script class.
Loads and compiles the specified script file.
- Parameters
-
ScriptFilename | The script filename. |
ThrowExceptions | If set to true a exception will be thrown, if a error occurs when loading and compiling the script file. |
- Exceptions
-
System.Exception | A error occured while loading or loading the script file {0}. |
Definition at line 50 of file Script.cs.
DirectOutput.Scripting.Script.Script |
( |
FileInfo |
ScriptFile, |
|
|
bool |
ThrowExceptions = false |
|
) |
| |
|
inline |
Initializes a new instance of the Script class.
Loads and compiles the specified script file.
- Parameters
-
ScriptFile | The FileInfo object for the script file. |
ThrowExceptions | If set to true a exception will be thrown, if a error occurs when loading and compiling the script file. |
- Exceptions
-
System.Exception | A error occured while loading or loading the script file {0}. |
Definition at line 59 of file Script.cs.
DirectOutput.Scripting.Script.Script |
( |
| ) |
|
|
inline |
Initializes a new instance of the Script class.
Definition at line 88 of file Script.cs.
Assembly DirectOutput.Scripting.Script.Assembly |
|
getset |
Holds a reference to the Assembly for the loaded script file.
Definition at line 40 of file Script.cs.
Exception DirectOutput.Scripting.Script.CompilationException |
|
getset |
If a error occurs during compilation, this property contains the Exception which was thrown.
Definition at line 34 of file Script.cs.
bool DirectOutput.Scripting.Script.Compiled |
|
get |
Indicates whether the script file has been successfully loaded and compiled.
Definition at line 24 of file Script.cs.
FileInfo DirectOutput.Scripting.Script.File |
|
getset |
FileInfo object for the Scriptfile.
Definition at line 17 of file Script.cs.
The documentation for this class was generated from the following file:
- C:/Users/Tom/Documents/GitHub/DirectOutput/DirectOutput/Scripting/Script.cs