NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Render.HtmlExtension Class Reference

Static Public Member Functions

static string AppendWithWebpath (this IHtmlObject htmlObject, string line, string link)
 
static string AppendWithWebpath (this IHtmlObject htmlObject, string line, string link, object arg0)
 
static string AppendWithWebpath (this IHtmlObject htmlObject, string line, string link, object arg0, object arg1)
 

Detailed Description

Definition at line 24 of file IHtmlExtension.cs.

Member Function Documentation

static string Ntp.Analyzer.Render.HtmlExtension.AppendWithWebpath ( this IHtmlObject  htmlObject,
string  line,
string  link 
)
inlinestatic

Definition at line 26 of file IHtmlExtension.cs.

References Ntp.Analyzer.Render.IHtmlObject.WebPath.

27  {
28  if (link.StartsWith("http") || link.StartsWith("https") || link.StartsWith("mailto"))
29  return string.Format(line, string.Empty, link);
30 
31  return string.Format(line, htmlObject.WebPath, link);
32  }
static string Ntp.Analyzer.Render.HtmlExtension.AppendWithWebpath ( this IHtmlObject  htmlObject,
string  line,
string  link,
object  arg0 
)
inlinestatic

Definition at line 34 of file IHtmlExtension.cs.

References Ntp.Analyzer.Render.IHtmlObject.WebPath.

35  {
36  if (link.StartsWith("http") || link.StartsWith("https") || link.StartsWith("mailto"))
37  return string.Format(line, string.Empty, link, arg0);
38 
39  return string.Format(line, htmlObject.WebPath, link, arg0);
40  }
static string Ntp.Analyzer.Render.HtmlExtension.AppendWithWebpath ( this IHtmlObject  htmlObject,
string  line,
string  link,
object  arg0,
object  arg1 
)
inlinestatic

Definition at line 42 of file IHtmlExtension.cs.

References Ntp.Analyzer.Render.IHtmlObject.WebPath.

44  {
45  if (link.StartsWith("http") || link.StartsWith("https") || link.StartsWith("mailto"))
46  return string.Format(line, string.Empty, link, arg0, arg1);
47 
48  return string.Format(line, htmlObject.WebPath, link, arg0, arg1);
49  }

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