C# Класс Patchwork.Engine.Utility.AssemblyCache

An AssemblyDefinition loader that doesn't load an assembly if it's in the cache.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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