DirectOutputR1
DirectOutput framework R1 for virtual pinball cabinets.
|
Go to: Overview |
List of Script objects. More...
Public Member Functions | |
IEnumerator< Script > | GetEnumerator () |
Returns an enumerator that iterates through the collection. More... | |
void | LoadAndAddScripts (string ScriptDirectory, string FilePattern="*.cs", bool ThrowExceptions=false) |
Loads and adds scripts from the specified directory. More... | |
void | LoadAndAddScripts (DirectoryInfo ScriptDirectory, string FilePattern="*.cs", bool ThrowExceptions=false) |
Loads and adds scripts from the specified directory. More... | |
void | LoadAndAddScripts (IEnumerable< FileInfo > ScriptFiles, bool ThrowExceptions=false) |
Loads and adds the scripts in the specified list of FileInfo objects. More... | |
void | LoadAndAddScript (FileInfo ScriptFile, bool ThrowExceptions=false) |
Load and adds the script specified in the FileInfo object. More... | |
Properties | |
Script | this[string Filename] [get] |
Gets the Script with the specified filename. More... | |
Script | this[int Index] [get] |
Gets the Script at the specified index. More... | |
int | Count [get] |
Gets the count of Script objects in the list. More... | |
List of Script objects.
Definition at line 10 of file ScriptList.cs.
|
inline |
Returns an enumerator that iterates through the collection.
Definition at line 21 of file ScriptList.cs.
|
inline |
Load and adds the script specified in the FileInfo object.
ScriptFile | The script file. |
ThrowExceptions | If set to true exceptions are thrown if errors occur during script loading and compiling or if a script has already been added to the list. |
Definition at line 130 of file ScriptList.cs.
|
inline |
Loads and adds scripts from the specified directory.
ScriptDirectory | The path to the script directory. |
FilePattern | The file search pattern. |
ThrowExceptions | If set to true exceptions are thrown if errors occur during script loading and compiling or if a script has already been added to the list. |
Definition at line 95 of file ScriptList.cs.
|
inline |
Loads and adds scripts from the specified directory.
ScriptDirectory | The DirectoryInfo object for the script directory. |
FilePattern | The file search pattern. |
ThrowExceptions | If set to true exceptions are thrown if errors occur during script loading and compiling or if a script has already been added to the list. |
Definition at line 106 of file ScriptList.cs.
|
inline |
Loads and adds the scripts in the specified list of FileInfo objects.
ScriptFiles | IEnumerable list of FIleInfo objects. |
ThrowExceptions | If set to true exceptions are thrown if errors occur during script loading and compiling or if a script has already been added to the list. |
Definition at line 116 of file ScriptList.cs.
|
get |
Gets the count of Script objects in the list.
The count of Script objects in the list.
Definition at line 85 of file ScriptList.cs.
|
get |
Gets the Script at the specified index.
The Script at the specified index.
Index | The index of the object. |
Definition at line 71 of file ScriptList.cs.
|
get |
Gets the Script with the specified filename.
The Script object for the spiecifed file.
Filename | The filename of the script. |
Definition at line 47 of file ScriptList.cs.