C# Class AppDomainToolkit.AssemblyTarget

Inheritance: IAssemblyTarget
Datei anzeigen Open project: jduv/AppDomainToolkit Class Usage Examples

Public Methods

Method 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

Method Description
AssemblyTarget ( ) : System

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

Method Details

FromAssembly() public static method

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. ///
return IAssemblyTarget

FromDynamic() public static method

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

FromPath() public static method

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. ///
return IAssemblyTarget