C# Class StaticAnalysis.DependencyAnalyzer.AssemblyLoader

A class using .Net Remoting to load assemblies and retrieve information in a separate app domain
Inheritance: System.MarshalByRefObject
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Méthode Description
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)

Method Details

GetReflectedAssemblyFromFile() public méthode

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.
Résultat AssemblyMetadata

GetReflectedAssemblyInfo() public méthode

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
Résultat AssemblyMetadata