Definition at line 31 of file DefaultPeerGraphRender.cs.
Ntp.Analyzer.Render.Peer.DefaultPeerGraphRender.DefaultPeerGraphRender |
( |
Uri |
webPath, |
|
|
string |
peerName, |
|
|
TimeServer |
server, |
|
|
IEnumerable< GraphSetConfiguration > |
graphs |
|
) |
| |
|
inline |
override string Ntp.Analyzer.Render.Peer.DefaultPeerGraphRender.Render |
( |
| ) |
|
|
inline |
Implements Ntp.Analyzer.Render.IHtmlObject.
Definition at line 50 of file DefaultPeerGraphRender.cs.
52 var builder =
new StringBuilder();
54 foreach (var graphSet
in graphs)
56 foreach (var graph
in graphSet.Graphs)
59 builder.Append(
@"<br><img src=""");
60 builder.Append(graph.GetLink(graphSet, name).ToHtmlString());
61 builder.Append(
@""" alt=""");
62 builder.Append(graph.GetAltName(graphSet, name));
63 builder.AppendLine(
@"""><br>");
67 return builder.ToString();
readonly List< GraphSetConfiguration > graphs
readonly TimeServer server
override string Ntp.Analyzer.Render.Peer.DefaultPeerGraphRender.RenderFooter |
( |
| ) |
|
|
inlinevirtual |
override string Ntp.Analyzer.Render.Peer.DefaultPeerGraphRender.RenderHead |
( |
| ) |
|
|
inlinevirtual |
readonly string Ntp.Analyzer.Render.Peer.DefaultPeerGraphRender.peerName |
|
private |
readonly TimeServer Ntp.Analyzer.Render.Peer.DefaultPeerGraphRender.server |
|
private |
The documentation for this class was generated from the following file: