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

Public Member Functions

 BootstrapPeerPageRender (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 BootstrapPeerPageRender.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Render.Peer.BootstrapPeerPageRender.BootstrapPeerPageRender ( Uri  webpath,
string  title,
int  refresh 
)
inline

Definition at line 29 of file BootstrapPeerPageRender.cs.

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

Member Function Documentation

override string Ntp.Analyzer.Render.Peer.BootstrapPeerPageRender.RenderPageBody ( )
inlineprotectedvirtual

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 37 of file BootstrapPeerPageRender.cs.

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

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 42 of file BootstrapPeerPageRender.cs.

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

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 47 of file BootstrapPeerPageRender.cs.

48  {
49  var builder = new StringBuilder();
50 
51  builder.AppendLine(this.AppendWithWebpath(
52  @" <link href=""{0}{1}"" rel=""stylesheet"" media=""screen"">",
53  "css/peer.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.Peer.BootstrapPeerPageRender.refresh
private

Definition at line 35 of file BootstrapPeerPageRender.cs.


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