C# Class NAnt.Core.Util.AssemblyResolver

Afficher le fichier Open project: skolima/NAnt Class Usage Examples

Méthodes publiques

Méthode Description
AssemblyResolver ( ) : System

Initializes an instanse of the AssemblyResolver class.

AssemblyResolver ( NAnt.Core.Task task ) : System

Initializes an instanse of the AssemblyResolver class in the context of the given Task.

Attach ( ) : void

Installs the assembly resolver by hooking up to the AppDomain.AssemblyResolve event.

Detach ( ) : void

Uninstalls the assembly resolver.

Private Methods

Méthode Description
AssemblyLoad ( object sender, AssemblyLoadEventArgs args ) : void

Occurs when an assembly is loaded. The loaded assembly is added to the assembly cache.

AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly

Resolves an assembly not found by the system using the assembly cache.

Log ( Level messageLevel, string message ) : void

Logs a message with the given priority.

The actual logging is delegated to the Task in which the AssemblyResolver is executing

Method Details

AssemblyResolver() public méthode

Initializes an instanse of the AssemblyResolver class.
public AssemblyResolver ( ) : System
Résultat System

AssemblyResolver() public méthode

Initializes an instanse of the AssemblyResolver class in the context of the given Task.
public AssemblyResolver ( NAnt.Core.Task task ) : System
task NAnt.Core.Task
Résultat System

Attach() public méthode

Installs the assembly resolver by hooking up to the AppDomain.AssemblyResolve event.
public Attach ( ) : void
Résultat void

Detach() public méthode

Uninstalls the assembly resolver.
public Detach ( ) : void
Résultat void