C# Class Sage.Configuration.LinkingConfiguration

Provides access to linking configuration.
Inheritance: IXmlConvertible
Datei anzeigen Open project: igorfrance/sage Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

LinkingConfiguration() public method

Initializes a new instance of the LinkingConfiguration class.
public LinkingConfiguration ( ) : System
return System

LinkingConfiguration() public method

Initializes a new instance of the LinkingConfiguration class, using the specified configElement.
public LinkingConfiguration ( XmlElement configElement ) : System
configElement System.Xml.XmlElement The config element.
return System

Parse() public method

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.
return void

ToXml() public method

public ToXml ( XmlDocument document ) : XmlElement
document System.Xml.XmlDocument
return System.Xml.XmlElement