C# Class PHP.Core.LibrariesConfigurationList

Afficher le fichier Open project: jadu/Phalanger Class Usage Examples

Méthodes publiques

Méthode Description
AddLibrary ( string assemblyName, Uri assemblyUrl, string sectionName, XmlNode node ) : bool

Adds the library to the list of libraries to be loaded lazily.

AddSection ( XmlNode sectionNode ) : void

Add class library configuration section to the list to be processed once libraries are loaded.

ClearLibraries ( ) : void

Clear the list of libraries that will be loaded.

LoadLibrariesNoLock ( Func callback, Action parseSectionCallback ) : void

Load libraries specified by AddLibrary lazily. Also parses postponed sections.

RemoveLibrary ( string assemblyName, Uri assemblyUrl ) : bool

Remove given library from the list of libraries that will be loaded.

Private Methods

Méthode Description
LibraryKey ( string assemblyName, Uri assemblyUrl ) : string

Method Details

AddLibrary() public méthode

Adds the library to the list of libraries to be loaded lazily.
public AddLibrary ( string assemblyName, Uri assemblyUrl, string sectionName, XmlNode node ) : bool
assemblyName string
assemblyUrl System.Uri
sectionName string
node System.Xml.XmlNode
Résultat bool

AddSection() public méthode

Add class library configuration section to the list to be processed once libraries are loaded.
public AddSection ( XmlNode sectionNode ) : void
sectionNode System.Xml.XmlNode
Résultat void

ClearLibraries() public méthode

Clear the list of libraries that will be loaded.
public ClearLibraries ( ) : void
Résultat void

LoadLibrariesNoLock() public méthode

Load libraries specified by AddLibrary lazily. Also parses postponed sections.
public LoadLibrariesNoLock ( Func callback, Action parseSectionCallback ) : void
callback Func
parseSectionCallback Action
Résultat void

RemoveLibrary() public méthode

Remove given library from the list of libraries that will be loaded.
public RemoveLibrary ( string assemblyName, Uri assemblyUrl ) : bool
assemblyName string
assemblyUrl System.Uri
Résultat bool