C# Class ICSharpCode.ILSpy.AssemblyList

A list of assemblies.
Afficher le fichier Open project: aerror2/ILSpy-For-MacOSX Class Usage Examples

Méthodes publiques

Méthode Description
AssemblyList ( System.Xml.Linq.XElement listElement ) : System

Loads an assembly list from XML.

AssemblyList ( string listName ) : System
GetAssemblies ( ) : ICSharpCode.ILSpy.LoadedAssembly[]

Gets the loaded assemblies. This method is thread-safe.

OpenAssembly ( string file, bool isAutoLoaded = false ) : LoadedAssembly

Opens an assembly from disk. Returns the existing assembly node if it is already loaded.

Sort ( IComparer comparer ) : void
Sort ( int index, int count, IComparer comparer ) : void
Unload ( LoadedAssembly assembly ) : void

Replace the assembly object model from a crafted stream, without disk I/O Returns null if it is not already loaded.

findAssemblyByShortName ( string shortName ) : LoadedAssembly

Private Methods

Méthode Description
Assemblies_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
ClearCache ( ) : void
RefreshSave ( ) : void
RequestGC ( ) : void
SaveAsXml ( ) : XElement

Saves this assembly list to XML.

Method Details

AssemblyList() public méthode

Loads an assembly list from XML.
public AssemblyList ( System.Xml.Linq.XElement listElement ) : System
listElement System.Xml.Linq.XElement
Résultat System

AssemblyList() public méthode

public AssemblyList ( string listName ) : System
listName string
Résultat System

GetAssemblies() public méthode

Gets the loaded assemblies. This method is thread-safe.
public GetAssemblies ( ) : ICSharpCode.ILSpy.LoadedAssembly[]
Résultat ICSharpCode.ILSpy.LoadedAssembly[]

OpenAssembly() public méthode

Opens an assembly from disk. Returns the existing assembly node if it is already loaded.
public OpenAssembly ( string file, bool isAutoLoaded = false ) : LoadedAssembly
file string
isAutoLoaded bool
Résultat LoadedAssembly

Sort() public méthode

public Sort ( IComparer comparer ) : void
comparer IComparer
Résultat void

Sort() public méthode

public Sort ( int index, int count, IComparer comparer ) : void
index int
count int
comparer IComparer
Résultat void

Unload() public méthode

Replace the assembly object model from a crafted stream, without disk I/O Returns null if it is not already loaded.
public Unload ( LoadedAssembly assembly ) : void
assembly LoadedAssembly
Résultat void

findAssemblyByShortName() public méthode

public findAssemblyByShortName ( string shortName ) : LoadedAssembly
shortName string
Résultat LoadedAssembly