C# Class Sage.Configuration.CategoryInfo

Contains configuration information about a category (such as 'football' or 'outdoor').
Inheritance: IXmlConvertible
显示文件 Open project: igorfrance/sage Class Usage Examples

Public Methods

Method Description
CategoryInfo ( XmlElement element ) : System

Initializes a new instance of the CategoryInfo class.

CategoryInfo ( string categoryName ) : System

Initializes a new instance of the CategoryInfo class.

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

Private Methods

Method Description
CategoryInfo ( ) : System

Method Details

CategoryInfo() public method

Initializes a new instance of the CategoryInfo class.
public CategoryInfo ( XmlElement element ) : System
element System.Xml.XmlElement The that contains this category's configuration.
return System

CategoryInfo() public method

Initializes a new instance of the CategoryInfo class.
public CategoryInfo ( string categoryName ) : System
categoryName string The name of this category.
return System

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