C# Class Uiml.Utils.Reflection.AssemblyLoader

Afficher le fichier Open project: jozilla/Uiml.net

Méthodes publiques

Méthode Description
LoadAny ( string query ) : Assembly

Tries to load an assembly in any possible way

LoadFromGacOrAppDir ( string partialName ) : Assembly

Loads an assembly from the Global Assembly Cache (GAC) or from the current application directory.

LoadFromPath ( string pathToLib ) : Assembly

Loads an assembly from a specified file.

Private Methods

Méthode Description
LoadAny ( AssemblyQuery q ) : Assembly
LoadFromGacOrAppDir ( AssemblyQuery q ) : Assembly
LoadFromPath ( AssemblyQuery q ) : Assembly

Method Details

LoadAny() public static méthode

Tries to load an assembly in any possible way
public static LoadAny ( string query ) : Assembly
query string the query to look for (can be a partial name /// or a path to a file)
Résultat System.Reflection.Assembly

LoadFromGacOrAppDir() public static méthode

Loads an assembly from the Global Assembly Cache (GAC) or from the current application directory.
public static LoadFromGacOrAppDir ( string partialName ) : Assembly
partialName string the assembly's partial name /// (e.g. "System.Drawing")
Résultat System.Reflection.Assembly

LoadFromPath() public static méthode

Loads an assembly from a specified file.
public static LoadFromPath ( string pathToLib ) : Assembly
pathToLib string the path to the assembly
Résultat System.Reflection.Assembly