Definition at line 29 of file HostLineRender.cs.
Definition at line 31 of file HostLineRender.cs.
readonly StatusLine statusLine
readonly PeerPageConfiguration peerPages
override string Ntp.Analyzer.Render.Host.HostLineRender.Render |
( |
| ) |
|
|
inline |
Implements Ntp.Analyzer.Render.IHtmlObject.
Definition at line 62 of file HostLineRender.cs.
64 var builder =
new StringBuilder();
66 builder.Append($
"<td>{Peer.TallyChar}</td>");
67 builder.Append($
"<td>{PeerName}</td>");
68 builder.Append($
@"<td class=""aright"">{Peer.Stratus}</td>");
69 builder.Append($
@"<td class=""aright"">{Peer.LastPoll}</td>");
70 builder.Append($
@"<td class=""aright2"">{Peer.Poll}</td>");
71 builder.Append($
@"<td class=""aright"">{Peer.Reach}</td>");
72 builder.Append($
@"<td class=""aright"">{Peer.Delay.ToString("0.000
")}</td>");
73 builder.Append($
@"<td class=""aright"">{Peer.Offset.ToString("0.000
")}</td>");
74 builder.Append($
@"<td class=""aright"">{Peer.Jitter.ToString("0.000
")}</td>");
75 builder.Append($
@"<td class=""aright"">{Country}</td>");
79 builder.Append(
@"<td><a href=""");
81 builder.Append(
@""">");
83 builder.AppendLine(
"</a></td>");
87 builder.Append(
@"<td>");
89 builder.AppendLine(
"</td>");
92 return builder.ToString();
Uri GetLink(int peerId)
Gets the link related to specified peer.
readonly PeerPageConfiguration peerPages
override string Ntp.Analyzer.Render.Host.HostLineRender.RenderFooter |
( |
| ) |
|
|
inlinevirtual |
override string Ntp.Analyzer.Render.Host.HostLineRender.RenderHead |
( |
| ) |
|
|
inlinevirtual |
string Ntp.Analyzer.Render.Host.HostLineRender.Country => Server != null ? Server.Country : string.Empty |
|
private |
string Ntp.Analyzer.Render.Host.HostLineRender.Location |
|
private |
int Ntp.Analyzer.Render.Host.HostLineRender.PageId => statusLine.PeerActivity.Id |
|
private |
AssociationEntry Ntp.Analyzer.Render.Host.HostLineRender.Peer => statusLine.Peer |
|
private |
TimeServer Ntp.Analyzer.Render.Host.HostLineRender.Server => statusLine.PeerActivity.Peer.Server |
|
private |
readonly StatusLine Ntp.Analyzer.Render.Host.HostLineRender.statusLine |
|
private |
string Ntp.Analyzer.Render.Host.HostLineRender.PeerName |
|
getprivate |
The documentation for this class was generated from the following file: