C# Class AppDomainToolkit.AssemblyTarget

Inheritance: IAssemblyTarget
Afficher le fichier Open project: jduv/AppDomainToolkit Class Usage Examples

Méthodes publiques

Méthode Description
FromAssembly ( Assembly assembly ) : IAssemblyTarget

Creates a new AssemblyTarget from the target assembly.

FromDynamic ( string fullName ) : IAssemblyTarget

Creates a new assembly target for the given dynamic assembly.

FromPath ( Uri codebase, string location = null, string fullname = null ) : IAssemblyTarget

Creates a new assembly target for the given location. The only required parameter here is the codebase.

Private Methods

Méthode Description
AssemblyTarget ( ) : System

Prevents a default instance of the AssemblyTarget class from being created.

Method Details

FromAssembly() public static méthode

Creates a new AssemblyTarget from the target assembly.
public static FromAssembly ( Assembly assembly ) : IAssemblyTarget
assembly System.Reflection.Assembly /// The assembly to create the target for. ///
Résultat IAssemblyTarget

FromDynamic() public static méthode

Creates a new assembly target for the given dynamic assembly.
public static FromDynamic ( string fullName ) : IAssemblyTarget
fullName string /// The full name of the assembly. ///
Résultat IAssemblyTarget

FromPath() public static méthode

Creates a new assembly target for the given location. The only required parameter here is the codebase.
public static FromPath ( Uri codebase, string location = null, string fullname = null ) : IAssemblyTarget
codebase System.Uri /// The URI to the code base. ///
location string /// The location. Must be a valid path and an existing file if supplied--defaults to null. ///
fullname string /// The full name of the assembly. Defaults to null. ///
Résultat IAssemblyTarget