C# Класс AppDomainToolkit.AssemblyTarget

Наследование: IAssemblyTarget
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AssemblyTarget ( ) : System

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

Описание методов

FromAssembly() публичный статический Метод

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. ///
Результат IAssemblyTarget

FromDynamic() публичный статический Метод

Creates a new assembly target for the given dynamic assembly.
public static FromDynamic ( string fullName ) : IAssemblyTarget
fullName string /// The full name of the assembly. ///
Результат IAssemblyTarget

FromPath() публичный статический Метод

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. ///
Результат IAssemblyTarget