Свойство | Тип | Описание | |
---|---|---|---|
_compilers | Compiler>.Dictionary | ||
_scripts | Type>.Dictionary | ||
_scriptsToDispose | List |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат |
protected GetCachePath ( string path ) : string | ||
path | string | |
Результат | string |
protected static GetJITtedTypes ( |
||
asm | ||
filePath | string | |
Результат | IEnumerable |
public GetScriptType ( string typeName ) : |
||
typeName | string | |
Результат |
public LoadScripts ( string scriptListFile ) : void | ||
scriptListFile | string | Text file containing paths to script files. |
Результат | void |
protected ReadScriptList ( string scriptListFile ) : List |
||
scriptListFile | string | |
Результат | List |