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

Public Member Functions

 BootstrapGraphPageRender (Uri webPath, NamedObject namedObject, string title, string prefix, GraphSetConfiguration graphSet, GraphBaseConfiguration graph)
 
- 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)
 

Properties

override string Title [get]
 
- 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]
 

Private Attributes

readonly GraphBaseConfiguration graph
 
readonly GraphSetConfiguration graphSet
 
readonly NamedObject namedObject
 
readonly string prefix
 

Additional Inherited Members

- Public Attributes inherited from Ntp.Analyzer.Render.HtmlObjectRender
IEnumerable< IHtmlObjectChildren => children.ToArray()
 

Detailed Description

Definition at line 31 of file BootstrapGraphPageRender.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.BootstrapGraphPageRender ( Uri  webPath,
NamedObject  namedObject,
string  title,
string  prefix,
GraphSetConfiguration  graphSet,
GraphBaseConfiguration  graph 
)
inline

Definition at line 33 of file BootstrapGraphPageRender.cs.

40  : base(webPath, title)
41  {
42  this.namedObject = namedObject;
43  this.prefix = prefix;
44  this.graphSet = graphSet;
45  this.graph = graph;
46  }

Member Function Documentation

override string Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.RenderPageBody ( )
inlineprotectedvirtual

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 66 of file BootstrapGraphPageRender.cs.

67  {
68  var builder = new StringBuilder();
69 
70  builder.AppendLine(@" <div class=""container"">");
71  builder.Append(@" <img src=""");
72  builder.Append(graph.GetLink(graphSet, prefix).ToHtmlString());
73  builder.Append(@""" alt=""");
74  builder.Append(graph.GetAltName(graphSet, prefix));
75  builder.AppendLine(@""">");
76  builder.AppendLine(" </div>");
77 
78  return builder.ToString();
79  }
abstract string GetAltName(GraphSetConfiguration owner, string postfix)
abstract Uri GetLink(GraphSetConfiguration owner, string postfix)
override string Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.RenderPageFooter ( )
inlineprotectedvirtual

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 81 of file BootstrapGraphPageRender.cs.

82  {
83  return string.Empty;
84  }
override string Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.RenderPageHead ( )
inlineprotectedvirtual

Implements Ntp.Analyzer.Render.BootstrapPageRender.

Definition at line 86 of file BootstrapGraphPageRender.cs.

87  {
88  return string.Empty;
89  }

Member Data Documentation

readonly GraphBaseConfiguration Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.graph
private

Definition at line 48 of file BootstrapGraphPageRender.cs.

readonly GraphSetConfiguration Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.graphSet
private

Definition at line 49 of file BootstrapGraphPageRender.cs.

readonly NamedObject Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.namedObject
private

Definition at line 50 of file BootstrapGraphPageRender.cs.

readonly string Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.prefix
private

Definition at line 51 of file BootstrapGraphPageRender.cs.

Property Documentation

override string Ntp.Analyzer.Render.Graph.BootstrapGraphPageRender.Title
getprotected

Definition at line 54 of file BootstrapGraphPageRender.cs.


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