C# Class PHP.Core.LibrariesConfigurationList

ファイルを表示 Open project: jadu/Phalanger Class Usage Examples

Public Methods

Method 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

Method Description
LibraryKey ( string assemblyName, Uri assemblyUrl ) : string

Method Details

AddLibrary() public method

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
return bool

AddSection() public method

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

ClearLibraries() public method

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

LoadLibrariesNoLock() public method

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

RemoveLibrary() public method

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