C# Class Patchwork.Engine.Utility.AssemblyCache

An AssemblyDefinition loader that doesn't load an assembly if it's in the cache.
Afficher le fichier Open project: GregRos/Patchwork

Méthodes publiques

Свойство Type Description
Default AssemblyCache

Méthodes publiques

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

Méthode Description
DoesCacheMatch ( FileInfo currentFile, FileMetadata storedMetadata ) : bool

Method Details

ClearCache() public méthode

Clears the assembly cache.
public ClearCache ( ) : void
Résultat void

ReadAssembly() public méthode

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.
Résultat Mono.Cecil.AssemblyDefinition

Property Details

Default public_oe static_oe property

Gets the default AssemblyCache.
public static AssemblyCache,Patchwork.Engine.Utility Default
Résultat AssemblyCache