C# Class CryEngine.Utilities.AssemblyReferenceHandler

Handles retrieval of required assemblies for compiled scripts etc.
Show file Open project: PoppermostProductions/CryMono Class Usage Examples

Public Methods

Method Description
AssemblyReferenceHandler ( ) : System
GetRequiredAssembliesFromFiles ( IEnumerable scriptFilePaths ) : string[]

Gets the required assemblies for the scripts passed to the method. Note: Does NOT exclude assemblies already loaded by CryMono.

GetRequiredAssembliesFromSource ( string sources ) : string[]

Gets the required assemblies for the source file passed to the method. Note: Does NOT exclude assemblies already loaded by CryMono.

Protected Methods

Method Description
GetNamespacesFromStream ( Stream stream ) : IEnumerable

Private Methods

Method Description
GetAssemblyPathFromNamespace ( string name ) : string
GetNamespacesFromScriptFile ( string scriptFilePath ) : IEnumerable

Gets the required assemblies for the script passed to the method. Note: Does NOT exclude assemblies already loaded by CryMono.

Method Details

AssemblyReferenceHandler() public method

public AssemblyReferenceHandler ( ) : System
return System

GetNamespacesFromStream() protected method

protected GetNamespacesFromStream ( Stream stream ) : IEnumerable
stream Stream
return IEnumerable

GetRequiredAssembliesFromFiles() public method

Gets the required assemblies for the scripts passed to the method. Note: Does NOT exclude assemblies already loaded by CryMono.
public GetRequiredAssembliesFromFiles ( IEnumerable scriptFilePaths ) : string[]
scriptFilePaths IEnumerable
return string[]

GetRequiredAssembliesFromSource() public method

Gets the required assemblies for the source file passed to the method. Note: Does NOT exclude assemblies already loaded by CryMono.
public GetRequiredAssembliesFromSource ( string sources ) : string[]
sources string
return string[]