C# Class _3PA.Lib.LibLoader

Show file Open project: jcaillon/3P

Public Methods

Method Description
AssemblyResolver ( object sender, ResolveEventArgs args ) : Assembly

Called when the resolution of an assembly fails, gives us the opportunity to feed the required asssembly to the program

GetAssemblyVersion ( string name ) : string

Get the version of the given library, if it fails it returns an empty string

Private Methods

Method Description
GetAssemblyVersionFromPath ( string path ) : string

Method Details

AssemblyResolver() public static method

Called when the resolution of an assembly fails, gives us the opportunity to feed the required asssembly to the program
public static AssemblyResolver ( object sender, ResolveEventArgs args ) : Assembly
sender object
args System.ResolveEventArgs
return System.Reflection.Assembly

GetAssemblyVersion() public static method

Get the version of the given library, if it fails it returns an empty string
public static GetAssemblyVersion ( string name ) : string
name string
return string