NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Render.Host.BootstrapHostPageRender Class Reference
Inheritance diagram for Ntp.Analyzer.Render.Host.BootstrapHostPageRender:
Collaboration diagram for Ntp.Analyzer.Render.Host.BootstrapHostPageRender:

Public Member Functions

 BootstrapHostPageRender (Uri webPath, string title, int refresh)
 
- Public Member Functions inherited from Ntp.Analyzer.Render.BootstrapPageRender
override string Render ()
 
override string RenderFooter ()
 
override string RenderHead ()
 
- Public Member Functions inherited from Ntp.Analyzer.Render.HtmlObjectRender
void Add (IHtmlObject child)
 

Protected Member Functions

override string RenderPageBody ()
 
override string RenderPageFooter ()
 
override string RenderPageHead ()
 
- Protected Member Functions inherited from Ntp.Analyzer.Render.BootstrapPageRender
 BootstrapPageRender (Uri webPath, string title)
 
- Protected Member Functions inherited from Ntp.Analyzer.Render.HtmlObjectRender
 HtmlObjectRender (Uri webPath)
 

Private Attributes

readonly int refresh
 

Additional Inherited Members

- Public Attributes inherited from Ntp.Analyzer.Render.HtmlObjectRender
IEnumerable< IHtmlObjectChildren => children.ToArray()
 
- Properties inherited from Ntp.Analyzer.Render.BootstrapPageRender
virtual string Title [get]
 
- Properties inherited from Ntp.Analyzer.Render.HtmlObjectRender
Uri WebPath [get]
 
- Properties inherited from Ntp.Analyzer.Render.IHtmlObject
IEnumerable< IHtmlObjectChildren [get]
 
Uri WebPath [get]
 

Detailed Description

Definition at line 27 of file BootstrapHostPageRender.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Render.Host.BootstrapHostPageRender.BootstrapHostPageRender ( Uri  webPath,
string  title,
int  refresh 
)
inline

Definition at line 29 of file BootstrapHostPageRender.cs.

30  : base(webPath, title)
31  {
32  this.refresh = refresh;
33  }

Member Function Documentation

override string Ntp.Analyzer.Render.Host.BootstrapHostPageRender.RenderPageBody ( )
inlineprotectedvirtual

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 37 of file BootstrapHostPageRender.cs.

38  {
39  return string.Empty;
40  }
override string Ntp.Analyzer.Render.Host.BootstrapHostPageRender.RenderPageFooter ( )
inlineprotectedvirtual

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 42 of file BootstrapHostPageRender.cs.

43  {
44  return string.Empty;
45  }
override string Ntp.Analyzer.Render.Host.BootstrapHostPageRender.RenderPageHead ( )
inlineprotectedvirtual

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 47 of file BootstrapHostPageRender.cs.

48  {
49  var builder = new StringBuilder();
50 
51  builder.AppendLine(this.AppendWithWebpath(
52  @" <link href=""{0}{1}"" rel=""stylesheet"" media=""screen"">",
53  "css/host.css"));
54 
55  builder.AppendLine($@" <meta http-equiv=""refresh"" content=""{refresh}"">");
56 
57  return builder.ToString();
58  }

Member Data Documentation

readonly int Ntp.Analyzer.Render.Host.BootstrapHostPageRender.refresh
private

Definition at line 35 of file BootstrapHostPageRender.cs.


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