C# 클래스 Patchwork.Engine.Utility.AssemblyCache

An AssemblyDefinition loader that doesn't load an assembly if it's in the cache.
파일 보기 프로젝트 열기: GregRos/Patchwork

공개 프로퍼티들

프로퍼티 타입 설명
Default AssemblyCache

공개 메소드들

메소드 설명
ClearCache ( ) : void

Clears the assembly cache.

ReadAssembly ( string path, bool readSymbols = false ) : AssemblyDefinition

Reads the assembly from the given path, or else loads it from cache.

비공개 메소드들

메소드 설명
DoesCacheMatch ( FileInfo currentFile, FileMetadata storedMetadata ) : bool

메소드 상세

ClearCache() 공개 메소드

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

ReadAssembly() 공개 메소드

Reads the assembly from the given path, or else loads it from cache.
public ReadAssembly ( string path, bool readSymbols = false ) : AssemblyDefinition
path string The patch to read the assembly from.
readSymbols bool Whether or not to read symbols.
리턴 Mono.Cecil.AssemblyDefinition

프로퍼티 상세

Default 공개적으로 정적으로 프로퍼티

Gets the default AssemblyCache.
public static AssemblyCache,Patchwork.Engine.Utility Default
리턴 AssemblyCache