C# Class Sage.Modules.ModuleConfiguration

Contains module configuration information.
Inheritance: IXmlConvertible
Mostrar archivo Open project: igorfrance/sage Class Usage Examples

Public Methods

Method Description
Parse ( XmlElement element ) : void
ToString ( ) : string
ToXml ( XmlDocument document ) : XmlElement

Private Methods

Method Description
CombineModuleXslt ( SageContext context ) : CacheableXmlDocument
CopyXslElements ( SageContext context, string stylesheetPath, CacheableXmlDocument targetDocument ) : void
GetDefault ( SageContext context ) : XmlElement

Gets the element with module's defaults, if one is provided in the module's resource directory.

GetModulesDocumentXslt ( SageContext context, string resourceUri = null ) : CacheableXmlDocument
ModuleConfiguration ( ) : System
ModuleConfiguration ( Type moduleType ) : System

Initializes a new instance of the ModuleConfiguration class, using the specified moduleType and tagNames.

ModuleConfiguration ( XmlElement configElement, string projectId ) : System

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

ProcessHtmlElement ( SageContext context, XmlNode htmlNode ) : XmlNode
ResolveDependencies ( ModuleConfiguration config ) : IEnumerable

Method Details

Parse() public method

public Parse ( XmlElement element ) : void
element System.Xml.XmlElement
return void

ToString() public method

public ToString ( ) : string
return string

ToXml() public method

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