C# Class Sage.Modules.ModuleConfiguration

Contains module configuration information.
Inheritance: IXmlConvertible
Afficher le fichier Open project: igorfrance/sage Class Usage Examples

Méthodes publiques

Méthode Description
Parse ( XmlElement element ) : void
ToString ( ) : string
ToXml ( XmlDocument document ) : XmlElement

Private Methods

Méthode 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 méthode

public Parse ( XmlElement element ) : void
element System.Xml.XmlElement
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToXml() public méthode

public ToXml ( XmlDocument document ) : XmlElement
document System.Xml.XmlDocument
Résultat System.Xml.XmlElement