C# Class BlueCollar.Dashboard.Index

Represents the data used to fill in values when transforming the Static/index.xslt stylesheet into HTML.
ファイルを表示 Open project: ChadBurggraf/blue-collar Class Usage Examples

Private Properties

Property Type Description
GetTemplatesHtml string

Public Methods

Method Description
Index ( ) : System

Initializes a new instance of the Index class.

Index ( string applicationName, StaticFile file, CountsRecord counts ) : System

Initializes a new instance of the Index class.

ToXml ( ) : IXPathNavigable

Serializes this instance to XML.

Transform ( ) : string

Transforms this instance into an HTML string using the embedded XSLT stylesheet.

Private Methods

Method Description
GetTemplatesHtml ( ) : string

Gets the templates HTML as a string.

Method Details

Index() public method

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

Index() public method

Initializes a new instance of the Index class.
public Index ( string applicationName, StaticFile file, CountsRecord counts ) : System
applicationName string The name of the current application.
file StaticFile The instance representing the index XSLT stylesheet.
counts CountsRecord The counts record to initialize this instance with.
return System

ToXml() public method

Serializes this instance to XML.
public ToXml ( ) : IXPathNavigable
return IXPathNavigable

Transform() public method

Transforms this instance into an HTML string using the embedded XSLT stylesheet.
public Transform ( ) : string
return string