C# Class Patchwork.Engine.Utility.AssemblyCache

An AssemblyDefinition loader that doesn't load an assembly if it's in the cache.
ファイルを表示 Open project: GregRos/Patchwork

Public Properties

Property Type Description
Default AssemblyCache

Public Methods

Method Description
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.

Private Methods

Method Description
DoesCacheMatch ( FileInfo currentFile, FileMetadata storedMetadata ) : bool

Method Details

ClearCache() public method

Clears the assembly cache.
public ClearCache ( ) : void
return void

ReadAssembly() public method

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.
return Mono.Cecil.AssemblyDefinition

Property Details

Default public_oe static_oe property

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