C# Класс PHP.Core.LibrariesConfigurationList

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
LibraryKey ( string assemblyName, Uri assemblyUrl ) : string

Описание методов

AddLibrary() публичный Метод

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
Результат bool

AddSection() публичный Метод

Add class library configuration section to the list to be processed once libraries are loaded.
public AddSection ( XmlNode sectionNode ) : void
sectionNode System.Xml.XmlNode
Результат void

ClearLibraries() публичный Метод

Clear the list of libraries that will be loaded.
public ClearLibraries ( ) : void
Результат void

LoadLibrariesNoLock() публичный Метод

Load libraries specified by AddLibrary lazily. Also parses postponed sections.
public LoadLibrariesNoLock ( Func callback, Action parseSectionCallback ) : void
callback Func
parseSectionCallback Action
Результат void

RemoveLibrary() публичный Метод

Remove given library from the list of libraries that will be loaded.
public RemoveLibrary ( string assemblyName, Uri assemblyUrl ) : bool
assemblyName string
assemblyUrl System.Uri
Результат bool