C# 클래스 AsmResolver.Net.DefaultNetAssemblyResolver

Provides a default assembly resolution mechanism for .NET assemblies.
상속: INetAssemblyResolver
파일 보기 프로젝트 열기: JerreS/AsmResolver

공개 메소드들

메소드 설명
ClearCache ( ) : void

Clears the assembly resolution cache.

ResolveAssembly ( IAssemblyDescriptor descriptor ) : AssemblyDefinition

보호된 메소드들

메소드 설명
GetFilePath ( IAssemblyDescriptor descriptor ) : string

Gets the file path to the assembly file that was described by the given assembly descriptor.

OnAssemblyResolutionFailed ( AssemblyResolutionEventArgs e ) : AssemblyDefinition

Fires when an assembly could not be resolved, providing the availability to extend the assembly resolver.

ReadAssembly ( string filePath ) : WindowsAssembly

Reads a windows assembly image from the specified file path.

비공개 메소드들

메소드 설명
DefaultNetAssemblyResolver ( ) : System
GetGacDirectories ( string assemblyDirectory, bool is40 ) : IEnumerable

메소드 상세

ClearCache() 공개 메소드

Clears the assembly resolution cache.
public ClearCache ( ) : void
리턴 void

GetFilePath() 보호된 메소드

Gets the file path to the assembly file that was described by the given assembly descriptor.
protected GetFilePath ( IAssemblyDescriptor descriptor ) : string
descriptor IAssemblyDescriptor The assembly to resolve.
리턴 string

OnAssemblyResolutionFailed() 보호된 메소드

Fires when an assembly could not be resolved, providing the availability to extend the assembly resolver.
protected OnAssemblyResolutionFailed ( AssemblyResolutionEventArgs e ) : AssemblyDefinition
e AssemblyResolutionEventArgs The event arguments associated with this event.
리턴 AssemblyDefinition

ReadAssembly() 보호된 메소드

Reads a windows assembly image from the specified file path.
protected ReadAssembly ( string filePath ) : WindowsAssembly
filePath string The file path to the assembly to read.
리턴 WindowsAssembly

ResolveAssembly() 공개 메소드

public ResolveAssembly ( IAssemblyDescriptor descriptor ) : AssemblyDefinition
descriptor IAssemblyDescriptor
리턴 AssemblyDefinition