Свойство | Type | Description | |
---|---|---|---|
_compilers | Compiler>.Dictionary | ||
_scripts | Type>.Dictionary | ||
_scriptsToDispose | List |
Méthode | Description | |
---|---|---|
GetScriptType ( string typeName ) : |
Returns the type of the script with the given name.
|
|
LoadScripts ( string scriptListFile ) : void |
Loads scripts from list file.
|
|
ScriptManager ( ) : Aura.Data |
Creates new script manager.
|
Méthode | Description | |
---|---|---|
DisposeScripts ( ) : void |
Disposes all disposable scripts and clears internal script list.
|
|
GetAssembly ( string path ) : |
Loads assembly for script, compiles it if necessary. Returns null if there was a problem.
|
|
GetCachePath ( string path ) : string |
Returns path for the compiled version of the script. Creates directory structure if it doesn't exist.
|
|
GetJITtedTypes ( |
TODO: We might want to stop loading if this is a problem, scripts might depend on each other, which could lead to more errors. |
|
ReadScriptList ( string scriptListFile ) : List |
Returns list of script files loaded from scripts.txt.
|
Méthode | Description | |
---|---|---|
InitializeScripts ( ) : void |
Initializes all scripts loaded from assemblies.
|
|
LoadScript ( string scriptPath ) : bool |
Loads script from given path.
|
|
LoadScriptAssembly ( |
Reads script classes from assembly and adds them to internal script list.
|
|
LoadScripts ( ICollection |
Loads scripts from collection.
|
protected GetAssembly ( string path ) : |
||
path | string | |
Résultat |
protected GetCachePath ( string path ) : string | ||
path | string | |
Résultat | string |
protected static GetJITtedTypes ( |
||
asm | ||
filePath | string | |
Résultat | IEnumerable |
public GetScriptType ( string typeName ) : |
||
typeName | string | |
Résultat |
public LoadScripts ( string scriptListFile ) : void | ||
scriptListFile | string | Text file containing paths to script files. |
Résultat | void |
protected ReadScriptList ( string scriptListFile ) : List |
||
scriptListFile | string | |
Résultat | List |