C# Класс StaticAnalysis.DependencyAnalyzer.AssemblyLoader

A class using .Net Remoting to load assemblies and retrieve information in a separate app domain
Наследование: System.MarshalByRefObject
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetReflectedAssemblyFromFile ( string assemblyPath ) : AssemblyMetadata

Load the assembly found at the given path in the reflection context and return assembly metadata

GetReflectedAssemblyInfo ( string assemblyName ) : AssemblyMetadata

Load the assembly in the reflection context by name. Will succeed if the referenced assembly name can be found using default assembly loading rules (i.e. it is in the current directory or the GAC)

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

GetReflectedAssemblyFromFile() публичный Метод

Load the assembly found at the given path in the reflection context and return assembly metadata
public GetReflectedAssemblyFromFile ( string assemblyPath ) : AssemblyMetadata
assemblyPath string The full path to the assembly file.
Результат AssemblyMetadata

GetReflectedAssemblyInfo() публичный Метод

Load the assembly in the reflection context by name. Will succeed if the referenced assembly name can be found using default assembly loading rules (i.e. it is in the current directory or the GAC)
public GetReflectedAssemblyInfo ( string assemblyName ) : AssemblyMetadata
assemblyName string The full name of the assembly
Результат AssemblyMetadata