NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn Class Reference

Public Member Functions

 BootstrapTableColumn (string name, string cssClass)
 
 BootstrapTableColumn (string name)
 
 BootstrapTableColumn ()
 
override string ToString ()
 

Public Attributes

string FooterString
 
string SpacerString
 

Private Attributes

readonly string cssClass
 
readonly string name
 

Detailed Description

Definition at line 166 of file BootstrapHostTableRender.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn.BootstrapTableColumn ( string  name,
string  cssClass 
)
inline
Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn.BootstrapTableColumn ( string  name)
inline
Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn.BootstrapTableColumn ( )
inline

Member Function Documentation

override string Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn.ToString ( )
inline

Definition at line 195 of file BootstrapHostTableRender.cs.

196  {
197  return cssClass != null
198  ? $@"<th class=""{cssClass}"">{name}</th>"
199  : $@"<th>{name}</th>";
200  }

Member Data Documentation

readonly string Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn.cssClass
private

Definition at line 186 of file BootstrapHostTableRender.cs.

string Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn.FooterString
Initial value:
=>
$@"<td class=""but{(cssClass != null ? " " + cssClass : string.Empty)}"">&nbsp;</td>"

Definition at line 192 of file BootstrapHostTableRender.cs.

readonly string Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn.name
private

Definition at line 187 of file BootstrapHostTableRender.cs.

string Ntp.Analyzer.Render.Host.BootstrapHostTableRender.BootstrapTableColumn.SpacerString
Initial value:
=>
$@"<td class=""spc{(cssClass != null ? " " + cssClass : string.Empty)}"">&nbsp;</td>"

Definition at line 189 of file BootstrapHostTableRender.cs.


The documentation for this class was generated from the following file: