C# Класс Sage.Configuration.LinkingConfiguration

Provides access to linking configuration.
Наследование: IXmlConvertible
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
LinkingConfiguration ( ) : System

Initializes a new instance of the LinkingConfiguration class.

LinkingConfiguration ( XmlElement configElement ) : System

Initializes a new instance of the LinkingConfiguration class, using the specified configElement.

Parse ( XmlElement configElement ) : void

Merges the links and formats from the specified configElement into the current instance of LinkingConfiguration.

ToXml ( XmlDocument document ) : XmlElement

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

Метод Описание
AddFormat ( string formatName, string formatValue ) : ExtensionString

Adds the specified key and value to the dictionary.

AddLink ( string linkName, string linkUrl ) : ExtensionString

Adds the link with the specified name and URL (pattern).

LinkingConfiguration ( LinkingConfiguration init ) : System

Initializes a new instance of the LinkingConfiguration class, using the specified instance to initialize the content of this instance.

SetApplicationPath ( string applicationPath ) : void

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

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

Initializes a new instance of the LinkingConfiguration class.
public LinkingConfiguration ( ) : System
Результат System

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

Initializes a new instance of the LinkingConfiguration class, using the specified configElement.
public LinkingConfiguration ( XmlElement configElement ) : System
configElement System.Xml.XmlElement The config element.
Результат System

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

Merges the links and formats from the specified configElement into the current instance of LinkingConfiguration.
public Parse ( XmlElement configElement ) : void
configElement System.Xml.XmlElement The XML element that contains the data to parse.
Результат void

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

public ToXml ( XmlDocument document ) : XmlElement
document System.Xml.XmlDocument
Результат System.Xml.XmlElement