Definition at line 27 of file BootstrapPageRender.cs.
Ntp.Analyzer.Render.BootstrapPageRender.BootstrapPageRender |
( |
Uri |
webPath, |
|
|
string |
title |
|
) |
| |
|
inlineprotected |
override string Ntp.Analyzer.Render.BootstrapPageRender.Render |
( |
| ) |
|
|
inline |
override string Ntp.Analyzer.Render.BootstrapPageRender.RenderFooter |
( |
| ) |
|
|
inlinevirtual |
Implements Ntp.Analyzer.Render.HtmlObjectRender.
Definition at line 47 of file BootstrapPageRender.cs.
49 var builder =
new StringBuilder();
53 builder.AppendLine(this.AppendWithWebpath(
54 @" <script src=""{0}{1}""></script>",
57 builder.AppendLine(this.AppendWithWebpath(
58 @" <script src=""{0}{1}""></script>",
59 "js/bootstrap.min.js"));
61 builder.AppendLine(
"</body>");
62 builder.AppendLine(
"</html>");
64 return builder.ToString();
override string Ntp.Analyzer.Render.BootstrapPageRender.RenderHead |
( |
| ) |
|
|
inlinevirtual |
Implements Ntp.Analyzer.Render.HtmlObjectRender.
Definition at line 67 of file BootstrapPageRender.cs.
69 var builder =
new StringBuilder();
71 builder.AppendLine(
"<!DOCTYPE html>");
72 builder.AppendLine(
@"<html lang=""en""><head>");
73 builder.AppendLine(
@" <meta charset=""UTF-8"">");
74 builder.AppendLine(
@" <meta name=""viewport"" content=""width=device-width, initial-scale=1.0"">");
76 builder.Append(
" <title>");
77 builder.Append(
Title);
78 builder.AppendLine(
"</title>");
80 builder.AppendLine(this.AppendWithWebpath(
81 @" <link href=""{0}{1}"" rel=""stylesheet"" media=""screen"">",
82 "css/bootstrap.min.css"));
86 builder.AppendLine(
"</head>");
88 return builder.ToString();
abstract string Ntp.Analyzer.Render.BootstrapPageRender.RenderPageBody |
( |
| ) |
|
|
protectedpure virtual |
abstract string Ntp.Analyzer.Render.BootstrapPageRender.RenderPageFooter |
( |
| ) |
|
|
protectedpure virtual |
abstract string Ntp.Analyzer.Render.BootstrapPageRender.RenderPageHead |
( |
| ) |
|
|
protectedpure virtual |
virtual string Ntp.Analyzer.Render.BootstrapPageRender.Title |
|
getprotected |
The documentation for this class was generated from the following file: