Updated Razor views
This commit is contained in:
parent
424c0b0209
commit
77200410d6
File diff suppressed because it is too large
Load Diff
|
|
@ -22,25 +22,27 @@
|
|||
if (log.Severity >= Model.Options.MinLevel &&
|
||||
(string.IsNullOrEmpty(Model.Options.NamePrefix) || log.Name.StartsWith(Model.Options.NamePrefix, StringComparison.Ordinal)))
|
||||
{
|
||||
WriteLiteralTo(writer, " <tr>\r\n <td>");
|
||||
WriteTo(writer, string.Format("{0:MM/dd/yy}", log.Time));
|
||||
WriteLiteralTo(writer, "</td>\r\n <td>");
|
||||
WriteTo(writer, string.Format("{0:H:mm:ss}", log.Time));
|
||||
PushWriter(writer);
|
||||
WriteLiteral(" <tr>\r\n <td>");
|
||||
Write(string.Format("{0:MM/dd/yy}", log.Time));
|
||||
WriteLiteral("</td>\r\n <td>");
|
||||
Write(string.Format("{0:H:mm:ss}", log.Time));
|
||||
var severity = log.Severity.ToString().ToLowerInvariant();
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td class=\"{severity}\">");
|
||||
WriteTo(writer, log.Severity);
|
||||
WriteLiteral($"</td>\r\n <td class=\"{severity}\">");
|
||||
Write(log.Severity);
|
||||
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td title=\"{log.Name}\">");
|
||||
WriteTo(writer, log.Name);
|
||||
WriteLiteral($"</td>\r\n <td title=\"{log.Name}\">");
|
||||
Write(log.Name);
|
||||
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td title=\"{log.Message}\""+
|
||||
WriteLiteral($"</td>\r\n <td title=\"{log.Message}\""+
|
||||
"class=\"logState\" width=\"100px\">");
|
||||
WriteTo(writer, log.Message);
|
||||
Write(log.Message);
|
||||
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td title=\"{log.Exception}\">");
|
||||
WriteTo(writer, log.Exception);
|
||||
WriteLiteral($"</td>\r\n <td title=\"{log.Exception}\">");
|
||||
Write(log.Exception);
|
||||
|
||||
WriteLiteralTo(writer, "</td>\r\n </tr>\r\n");
|
||||
WriteLiteral("</td>\r\n </tr>\r\n");
|
||||
PopWriter();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,179 +1,61 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Diagnostics.Elm.RazorViews
|
||||
{
|
||||
#line hidden
|
||||
#line 1 "LogPage.cshtml"
|
||||
using System
|
||||
using System;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 2 "LogPage.cshtml"
|
||||
using System.Collections.Generic
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 3 "LogPage.cshtml"
|
||||
using System.Globalization
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 4 "LogPage.cshtml"
|
||||
using System.Linq
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 5 "LogPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.Elm
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 6 "LogPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.Elm.RazorViews
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 7 "LogPage.cshtml"
|
||||
using Microsoft.Extensions.RazorViews
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 8 "LogPage.cshtml"
|
||||
using Microsoft.Extensions.Logging
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
using System.Threading.Tasks;
|
||||
#line 2 "LogPage.cshtml"
|
||||
using System.Collections.Generic;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 3 "LogPage.cshtml"
|
||||
using System.Globalization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 4 "LogPage.cshtml"
|
||||
using System.Linq;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 5 "LogPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.Elm;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 6 "LogPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.Elm.RazorViews;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 7 "LogPage.cshtml"
|
||||
using Microsoft.Extensions.RazorViews;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 8 "LogPage.cshtml"
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
internal class LogPage : Microsoft.Extensions.RazorViews.BaseView
|
||||
{
|
||||
#line 11 "LogPage.cshtml"
|
||||
|
||||
public LogPage(LogPageModel model)
|
||||
{
|
||||
Model = model;
|
||||
}
|
||||
|
||||
public LogPageModel Model { get; set; }
|
||||
|
||||
public HelperResult LogRow(LogInfo log, int level)
|
||||
{
|
||||
return new HelperResult((writer) =>
|
||||
{
|
||||
if (log.Severity >= Model.Options.MinLevel &&
|
||||
(string.IsNullOrEmpty(Model.Options.NamePrefix) || log.Name.StartsWith(Model.Options.NamePrefix, StringComparison.Ordinal)))
|
||||
{
|
||||
|
||||
WriteLiteralTo(writer, " <tr class=\"logRow\">\r\n <td>");
|
||||
WriteTo(writer, string.Format("{0:MM/dd/yy}", log.Time));
|
||||
|
||||
WriteLiteralTo(writer, "</td>\r\n <td>");
|
||||
WriteTo(writer, string.Format("{0:H:mm:ss}", log.Time));
|
||||
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td title=\"{log.Name}\">");
|
||||
WriteTo(writer, log.Name);
|
||||
var severity = log.Severity.ToString().ToLowerInvariant();
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td class=\"{severity}\">");
|
||||
WriteTo(writer, log.Severity);
|
||||
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td title=\"{log.Message}\"> \r\n");
|
||||
|
||||
for (var i = 0; i < level; i++)
|
||||
{
|
||||
WriteLiteralTo(writer, " <span class=\"tab\"></span>\r\n");
|
||||
}
|
||||
|
||||
WriteLiteralTo(writer, " ");
|
||||
WriteTo(writer, log.Message);
|
||||
|
||||
WriteLiteralTo(writer, $"\r\n </td>\r\n <td title=\"{log.Exception}\">");
|
||||
|
||||
WriteTo(writer, log.Exception);
|
||||
|
||||
WriteLiteralTo(writer, "</td>\r\n </tr>\r\n");
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public HelperResult Traverse(ScopeNode node, int level, Dictionary<string, int> counts)
|
||||
{
|
||||
return new HelperResult((writer) => {
|
||||
// print start of scope
|
||||
WriteTo(writer, LogRow(new LogInfo()
|
||||
{
|
||||
Name = node.Name,
|
||||
Time = node.StartTime,
|
||||
Severity = LogLevel.Debug,
|
||||
Message = "Beginning " + node.State,
|
||||
}, level));
|
||||
|
||||
var messageIndex = 0;
|
||||
var childIndex = 0;
|
||||
while (messageIndex < node.Messages.Count && childIndex < node.Children.Count)
|
||||
{
|
||||
if (node.Messages[messageIndex].Time < node.Children[childIndex].StartTime)
|
||||
{
|
||||
WriteTo(writer, LogRow(node.Messages[messageIndex], level));
|
||||
|
||||
counts[node.Messages[messageIndex].Severity.ToString()]++;
|
||||
messageIndex++;
|
||||
}
|
||||
else
|
||||
{
|
||||
WriteTo(writer, Traverse(node.Children[childIndex], level + 1, counts));
|
||||
childIndex++;
|
||||
}
|
||||
}
|
||||
if (messageIndex < node.Messages.Count)
|
||||
{
|
||||
for (var i = messageIndex; i < node.Messages.Count; i++)
|
||||
{
|
||||
WriteTo(writer, LogRow(node.Messages[i], level));
|
||||
counts[node.Messages[i].Severity.ToString()]++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (var i = childIndex; i < node.Children.Count; i++)
|
||||
{
|
||||
WriteTo(writer, Traverse(node.Children[i], level + 1, counts));
|
||||
}
|
||||
}
|
||||
// print end of scope
|
||||
WriteTo(writer, LogRow(new LogInfo()
|
||||
{
|
||||
Name = node.Name,
|
||||
Time = node.EndTime,
|
||||
Severity = LogLevel.Debug,
|
||||
Message = string.Format("Completed {0} in {1}ms", node.State, node.EndTime - node.StartTime)
|
||||
}, level));
|
||||
});
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line hidden
|
||||
public LogPage()
|
||||
{
|
||||
}
|
||||
|
||||
#pragma warning disable 1998
|
||||
public override async Task ExecuteAsync()
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
WriteLiteral("\r\n");
|
||||
#line 114 "LogPage.cshtml"
|
||||
#line 118 "LogPage.cshtml"
|
||||
|
||||
Response.ContentType = "text/html; charset=utf-8";
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(@"
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
|
@ -322,13 +204,7 @@ tr:nth-child(2n) {
|
|||
}
|
||||
");
|
||||
WriteLiteral("\r\n.information {\r\n color: blue;\r\n}\r\n\r\n.debug {\r\n color: black;\r\n}\r\n\r\n.warning {\r\n color: orange;\r\n}\r\n </style>\r\n</head>\r\n<body>\r\n <h1>ASP.NET Core Logs</h1>\r\n <form id=\"viewOptions\" method=\"get\">\r\n <select name=\"level\">\r\n");
|
||||
#line 280 "LogPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 280 "LogPage.cshtml"
|
||||
#line 284 "LogPage.cshtml"
|
||||
foreach (var severity in Enum.GetValues(typeof(LogLevel)))
|
||||
{
|
||||
var severityInt = (int)severity;
|
||||
|
|
@ -337,56 +213,53 @@ tr:nth-child(2n) {
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <option");
|
||||
BeginWriteAttribute("value", " value=\"", 6825, "\"", 6845, 1);
|
||||
#line 285 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 6833, severityInt, 6833, 12, false);
|
||||
BeginWriteAttribute("value", " value=\"", 6741, "\"", 6761, 1);
|
||||
#line 289 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 6749, severityInt, 6749, 12, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(" selected=\"selected\">");
|
||||
#line 285 "LogPage.cshtml"
|
||||
#line 289 "LogPage.cshtml"
|
||||
Write(severity);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</option>\r\n");
|
||||
#line 286 "LogPage.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <option");
|
||||
BeginWriteAttribute("value", " value=\"", 6974, "\"", 6994, 1);
|
||||
#line 289 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 6982, severityInt, 6982, 12, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(">");
|
||||
#line 289 "LogPage.cshtml"
|
||||
Write(severity);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</option>\r\n");
|
||||
#line 290 "LogPage.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <option");
|
||||
BeginWriteAttribute("value", " value=\"", 6890, "\"", 6910, 1);
|
||||
#line 293 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 6898, severityInt, 6898, 12, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(">");
|
||||
#line 293 "LogPage.cshtml"
|
||||
Write(severity);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</option>\r\n");
|
||||
#line 294 "LogPage.cshtml"
|
||||
}
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </select>\r\n <input type=\"text\" name=\"name\"");
|
||||
BeginWriteAttribute("value", " value=\"", 7107, "\"", 7140, 1);
|
||||
#line 293 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 7115, Model.Options.NamePrefix, 7115, 25, false);
|
||||
BeginWriteAttribute("value", " value=\"", 7023, "\"", 7056, 1);
|
||||
#line 297 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 7031, Model.Options.NamePrefix, 7031, 25, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
|
@ -416,27 +289,14 @@ WriteAttributeValue("", 7115, Model.Options.NamePrefix, 7115, 25, false);
|
|||
<col />
|
||||
</colgroup>
|
||||
");
|
||||
#line 317 "LogPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 317 "LogPage.cshtml"
|
||||
#line 321 "LogPage.cshtml"
|
||||
foreach (var activity in Model.Activities.Reverse())
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <tbody>\r\n <tr class=\"requestRow\">\r\n");
|
||||
#line 321 "LogPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 321 "LogPage.cshtml"
|
||||
#line 325 "LogPage.cshtml"
|
||||
|
||||
var activityPath = Model.Path.Value + "/" + activity.Id;
|
||||
if (activity.HttpInfo != null)
|
||||
|
|
@ -444,101 +304,97 @@ WriteAttributeValue("", 7115, Model.Options.NamePrefix, 7115, 25, false);
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" \t<td><a");
|
||||
BeginWriteAttribute("href", " href=\"", 8204, "\"", 8224, 1);
|
||||
#line 325 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8211, activityPath, 8211, 13, false);
|
||||
BeginWriteAttribute("href", " href=\"", 8120, "\"", 8140, 1);
|
||||
#line 329 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8127, activityPath, 8127, 13, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
BeginWriteAttribute("title", " title=\"", 8225, "\"", 8256, 1);
|
||||
#line 325 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8233, activity.HttpInfo.Path, 8233, 23, false);
|
||||
BeginWriteAttribute("title", " title=\"", 8141, "\"", 8172, 1);
|
||||
#line 329 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8149, activity.HttpInfo.Path, 8149, 23, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(">");
|
||||
#line 325 "LogPage.cshtml"
|
||||
#line 329 "LogPage.cshtml"
|
||||
Write(activity.HttpInfo.Path);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</a></td>\r\n <td>");
|
||||
#line 326 "LogPage.cshtml"
|
||||
#line 330 "LogPage.cshtml"
|
||||
Write(activity.HttpInfo.Method);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</td>\r\n <td>");
|
||||
#line 327 "LogPage.cshtml"
|
||||
#line 331 "LogPage.cshtml"
|
||||
Write(activity.HttpInfo.Host);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</td>\r\n <td>");
|
||||
#line 328 "LogPage.cshtml"
|
||||
#line 332 "LogPage.cshtml"
|
||||
Write(activity.HttpInfo.StatusCode);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</td>\r\n");
|
||||
#line 329 "LogPage.cshtml"
|
||||
#line 333 "LogPage.cshtml"
|
||||
}
|
||||
else if (activity.RepresentsScope)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <td colspan=\"4\"><a");
|
||||
BeginWriteAttribute("href", " href=\"", 8646, "\"", 8666, 1);
|
||||
#line 332 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8653, activityPath, 8653, 13, false);
|
||||
BeginWriteAttribute("href", " href=\"", 8562, "\"", 8582, 1);
|
||||
#line 336 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8569, activityPath, 8569, 13, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
BeginWriteAttribute("title", " title=\"", 8667, "\"", 8695, 1);
|
||||
#line 332 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8675, activity.Root.State, 8675, 20, false);
|
||||
BeginWriteAttribute("title", " title=\"", 8583, "\"", 8611, 1);
|
||||
#line 336 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8591, activity.Root.State, 8591, 20, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(">");
|
||||
#line 332 "LogPage.cshtml"
|
||||
#line 336 "LogPage.cshtml"
|
||||
Write(activity.Root.State);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</a></td>\r\n");
|
||||
#line 333 "LogPage.cshtml"
|
||||
#line 337 "LogPage.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <td colspan=\"4\"><a");
|
||||
BeginWriteAttribute("href", " href=\"", 8858, "\"", 8878, 1);
|
||||
#line 336 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8865, activityPath, 8865, 13, false);
|
||||
BeginWriteAttribute("href", " href=\"", 8774, "\"", 8794, 1);
|
||||
#line 340 "LogPage.cshtml"
|
||||
WriteAttributeValue("", 8781, activityPath, 8781, 13, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(">Non-scope Log</a></td>\r\n");
|
||||
#line 337 "LogPage.cshtml"
|
||||
#line 341 "LogPage.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(@" <td class=""logTd"">
|
||||
<table class=""logTable"">
|
||||
<thead class=""logHeader"">
|
||||
|
|
@ -552,13 +408,7 @@ WriteAttributeValue("", 8865, activityPath, 8865, 13, false);
|
|||
</tr>
|
||||
</thead>
|
||||
");
|
||||
#line 351 "LogPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 351 "LogPage.cshtml"
|
||||
#line 355 "LogPage.cshtml"
|
||||
|
||||
var counts = new Dictionary<string, int>();
|
||||
counts["Critical"] = 0;
|
||||
|
|
@ -570,15 +420,8 @@ WriteAttributeValue("", 8865, activityPath, 8865, 13, false);
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <tbody class=\"logBody\">\r\n");
|
||||
#line 360 "LogPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 360 "LogPage.cshtml"
|
||||
#line 364 "LogPage.cshtml"
|
||||
if (!activity.RepresentsScope)
|
||||
{
|
||||
// message not within a scope
|
||||
|
|
@ -587,13 +430,12 @@ WriteAttributeValue("", 8865, activityPath, 8865, 13, false);
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 364 "LogPage.cshtml"
|
||||
#line 368 "LogPage.cshtml"
|
||||
Write(LogRow(logInfo, 0));
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 364 "LogPage.cshtml"
|
||||
#line 368 "LogPage.cshtml"
|
||||
|
||||
counts[logInfo.Severity.ToString()] = 1;
|
||||
}
|
||||
|
|
@ -603,88 +445,76 @@ WriteAttributeValue("", 8865, activityPath, 8865, 13, false);
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 369 "LogPage.cshtml"
|
||||
#line 373 "LogPage.cshtml"
|
||||
Write(Traverse(activity.Root, 0, counts));
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 369 "LogPage.cshtml"
|
||||
#line 373 "LogPage.cshtml"
|
||||
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </tbody>\r\n <tbody class=\"summary\">\r\n <tr class=\"logRow\">\r\n <td>");
|
||||
#line 374 "LogPage.cshtml"
|
||||
#line 378 "LogPage.cshtml"
|
||||
Write(activity.Time.ToString("MM-dd-yyyy HH:mm:ss"));
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</td>\r\n");
|
||||
#line 375 "LogPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 375 "LogPage.cshtml"
|
||||
#line 379 "LogPage.cshtml"
|
||||
foreach (var kvp in counts)
|
||||
{
|
||||
if (string.Equals("Debug", kvp.Key)) {
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <td>");
|
||||
#line 378 "LogPage.cshtml"
|
||||
#line 382 "LogPage.cshtml"
|
||||
Write(kvp.Value);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" ");
|
||||
#line 378 "LogPage.cshtml"
|
||||
#line 382 "LogPage.cshtml"
|
||||
Write(kvp.Key);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("<span class=\"collapse\">v</span></td>\r\n");
|
||||
#line 379 "LogPage.cshtml"
|
||||
#line 383 "LogPage.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <td>");
|
||||
#line 382 "LogPage.cshtml"
|
||||
#line 386 "LogPage.cshtml"
|
||||
Write(kvp.Value);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" ");
|
||||
#line 382 "LogPage.cshtml"
|
||||
#line 386 "LogPage.cshtml"
|
||||
Write(kvp.Key);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</td>\r\n");
|
||||
#line 383 "LogPage.cshtml"
|
||||
#line 387 "LogPage.cshtml"
|
||||
}
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n");
|
||||
#line 391 "LogPage.cshtml"
|
||||
#line 395 "LogPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(@" </table>
|
||||
<script type=""text/javascript"">
|
||||
$(document).ready(function () {
|
||||
|
|
@ -706,5 +536,116 @@ WriteAttributeValue("", 8865, activityPath, 8865, 13, false);
|
|||
</html>");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#line 11 "LogPage.cshtml"
|
||||
|
||||
public LogPage(LogPageModel model)
|
||||
{
|
||||
Model = model;
|
||||
}
|
||||
|
||||
public LogPageModel Model { get; set; }
|
||||
|
||||
public HelperResult LogRow(LogInfo log, int level)
|
||||
{
|
||||
return new HelperResult((writer) =>
|
||||
{
|
||||
if (log.Severity >= Model.Options.MinLevel &&
|
||||
(string.IsNullOrEmpty(Model.Options.NamePrefix) || log.Name.StartsWith(Model.Options.NamePrefix, StringComparison.Ordinal)))
|
||||
{
|
||||
PushWriter(writer);
|
||||
WriteLiteral(" <tr class=\"logRow\">\r\n <td>");
|
||||
Write(string.Format("{0:MM/dd/yy}", log.Time));
|
||||
|
||||
WriteLiteral("</td>\r\n <td>");
|
||||
Write(string.Format("{0:H:mm:ss}", log.Time));
|
||||
|
||||
WriteLiteral($"</td>\r\n <td title=\"{log.Name}\">");
|
||||
Write(log.Name);
|
||||
var severity = log.Severity.ToString().ToLowerInvariant();
|
||||
WriteLiteral($"</td>\r\n <td class=\"{severity}\">");
|
||||
Write(log.Severity);
|
||||
|
||||
WriteLiteral($"</td>\r\n <td title=\"{log.Message}\"> \r\n");
|
||||
|
||||
for (var i = 0; i < level; i++)
|
||||
{
|
||||
WriteLiteral(" <span class=\"tab\"></span>\r\n");
|
||||
}
|
||||
|
||||
WriteLiteral(" ");
|
||||
Write(log.Message);
|
||||
|
||||
WriteLiteral($"\r\n </td>\r\n <td title=\"{log.Exception}\">");
|
||||
|
||||
Write(log.Exception);
|
||||
|
||||
WriteLiteral("</td>\r\n </tr>\r\n");
|
||||
PopWriter();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public HelperResult Traverse(ScopeNode node, int level, Dictionary<string, int> counts)
|
||||
{
|
||||
return new HelperResult((writer) => {
|
||||
PushWriter(writer);
|
||||
|
||||
// print start of scope
|
||||
Write(LogRow(new LogInfo()
|
||||
{
|
||||
Name = node.Name,
|
||||
Time = node.StartTime,
|
||||
Severity = LogLevel.Debug,
|
||||
Message = "Beginning " + node.State,
|
||||
}, level));
|
||||
|
||||
var messageIndex = 0;
|
||||
var childIndex = 0;
|
||||
while (messageIndex < node.Messages.Count && childIndex < node.Children.Count)
|
||||
{
|
||||
if (node.Messages[messageIndex].Time < node.Children[childIndex].StartTime)
|
||||
{
|
||||
Write(LogRow(node.Messages[messageIndex], level));
|
||||
|
||||
counts[node.Messages[messageIndex].Severity.ToString()]++;
|
||||
messageIndex++;
|
||||
}
|
||||
else
|
||||
{
|
||||
Write(Traverse(node.Children[childIndex], level + 1, counts));
|
||||
childIndex++;
|
||||
}
|
||||
}
|
||||
if (messageIndex < node.Messages.Count)
|
||||
{
|
||||
for (var i = messageIndex; i < node.Messages.Count; i++)
|
||||
{
|
||||
Write(LogRow(node.Messages[i], level));
|
||||
counts[node.Messages[i].Severity.ToString()]++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (var i = childIndex; i < node.Children.Count; i++)
|
||||
{
|
||||
Write(Traverse(node.Children[i], level + 1, counts));
|
||||
}
|
||||
}
|
||||
// print end of scope
|
||||
Write(LogRow(new LogInfo()
|
||||
{
|
||||
Name = node.Name,
|
||||
Time = node.EndTime,
|
||||
Severity = LogLevel.Debug,
|
||||
Message = string.Format("Completed {0} in {1}ms", node.State, node.EndTime - node.StartTime)
|
||||
}, level));
|
||||
|
||||
PopWriter();
|
||||
});
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -23,35 +23,35 @@
|
|||
if (log.Severity >= Model.Options.MinLevel &&
|
||||
(string.IsNullOrEmpty(Model.Options.NamePrefix) || log.Name.StartsWith(Model.Options.NamePrefix, StringComparison.Ordinal)))
|
||||
{
|
||||
PushWriter(writer);
|
||||
WriteLiteral(" <tr class=\"logRow\">\r\n <td>");
|
||||
Write(string.Format("{0:MM/dd/yy}", log.Time));
|
||||
|
||||
WriteLiteralTo(writer, " <tr class=\"logRow\">\r\n <td>");
|
||||
WriteTo(writer, string.Format("{0:MM/dd/yy}", log.Time));
|
||||
WriteLiteral("</td>\r\n <td>");
|
||||
Write(string.Format("{0:H:mm:ss}", log.Time));
|
||||
|
||||
WriteLiteralTo(writer, "</td>\r\n <td>");
|
||||
WriteTo(writer, string.Format("{0:H:mm:ss}", log.Time));
|
||||
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td title=\"{log.Name}\">");
|
||||
WriteTo(writer, log.Name);
|
||||
WriteLiteral($"</td>\r\n <td title=\"{log.Name}\">");
|
||||
Write(log.Name);
|
||||
var severity = log.Severity.ToString().ToLowerInvariant();
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td class=\"{severity}\">");
|
||||
WriteTo(writer, log.Severity);
|
||||
WriteLiteral($"</td>\r\n <td class=\"{severity}\">");
|
||||
Write(log.Severity);
|
||||
|
||||
WriteLiteralTo(writer, $"</td>\r\n <td title=\"{log.Message}\"> \r\n");
|
||||
WriteLiteral($"</td>\r\n <td title=\"{log.Message}\"> \r\n");
|
||||
|
||||
for (var i = 0; i < level; i++)
|
||||
{
|
||||
WriteLiteralTo(writer, " <span class=\"tab\"></span>\r\n");
|
||||
WriteLiteral(" <span class=\"tab\"></span>\r\n");
|
||||
}
|
||||
|
||||
WriteLiteralTo(writer, " ");
|
||||
WriteTo(writer, log.Message);
|
||||
WriteLiteral(" ");
|
||||
Write(log.Message);
|
||||
|
||||
WriteLiteralTo(writer, $"\r\n </td>\r\n <td title=\"{log.Exception}\">");
|
||||
WriteLiteral($"\r\n </td>\r\n <td title=\"{log.Exception}\">");
|
||||
|
||||
WriteTo(writer, log.Exception);
|
||||
|
||||
WriteLiteralTo(writer, "</td>\r\n </tr>\r\n");
|
||||
Write(log.Exception);
|
||||
|
||||
WriteLiteral("</td>\r\n </tr>\r\n");
|
||||
PopWriter();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -59,8 +59,10 @@
|
|||
public HelperResult Traverse(ScopeNode node, int level, Dictionary<string, int> counts)
|
||||
{
|
||||
return new HelperResult((writer) => {
|
||||
PushWriter(writer);
|
||||
|
||||
// print start of scope
|
||||
WriteTo(writer, LogRow(new LogInfo()
|
||||
Write(LogRow(new LogInfo()
|
||||
{
|
||||
Name = node.Name,
|
||||
Time = node.StartTime,
|
||||
|
|
@ -74,14 +76,14 @@
|
|||
{
|
||||
if (node.Messages[messageIndex].Time < node.Children[childIndex].StartTime)
|
||||
{
|
||||
WriteTo(writer, LogRow(node.Messages[messageIndex], level));
|
||||
Write(LogRow(node.Messages[messageIndex], level));
|
||||
|
||||
counts[node.Messages[messageIndex].Severity.ToString()]++;
|
||||
messageIndex++;
|
||||
}
|
||||
else
|
||||
{
|
||||
WriteTo(writer, Traverse(node.Children[childIndex], level + 1, counts));
|
||||
Write(Traverse(node.Children[childIndex], level + 1, counts));
|
||||
childIndex++;
|
||||
}
|
||||
}
|
||||
|
|
@ -89,7 +91,7 @@
|
|||
{
|
||||
for (var i = messageIndex; i < node.Messages.Count; i++)
|
||||
{
|
||||
WriteTo(writer, LogRow(node.Messages[i], level));
|
||||
Write(LogRow(node.Messages[i], level));
|
||||
counts[node.Messages[i].Severity.ToString()]++;
|
||||
}
|
||||
}
|
||||
|
|
@ -97,17 +99,19 @@
|
|||
{
|
||||
for (var i = childIndex; i < node.Children.Count; i++)
|
||||
{
|
||||
WriteTo(writer, Traverse(node.Children[i], level + 1, counts));
|
||||
Write(Traverse(node.Children[i], level + 1, counts));
|
||||
}
|
||||
}
|
||||
// print end of scope
|
||||
WriteTo(writer, LogRow(new LogInfo()
|
||||
Write(LogRow(new LogInfo()
|
||||
{
|
||||
Name = node.Name,
|
||||
Time = node.EndTime,
|
||||
Severity = LogLevel.Debug,
|
||||
Message = string.Format("Completed {0} in {1}ms", node.State, node.EndTime - node.StartTime)
|
||||
}, level));
|
||||
|
||||
PopWriter();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,56 +1,33 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Views
|
||||
{
|
||||
#line hidden
|
||||
#line 1 "DatabaseErrorPage.cshtml"
|
||||
using System
|
||||
using System;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 2 "DatabaseErrorPage.cshtml"
|
||||
using System.Linq
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 3 "DatabaseErrorPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 4 "DatabaseErrorPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Views
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
using System.Threading.Tasks;
|
||||
#line 2 "DatabaseErrorPage.cshtml"
|
||||
using System.Linq;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 3 "DatabaseErrorPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 4 "DatabaseErrorPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Views;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
internal class DatabaseErrorPage : Microsoft.Extensions.RazorViews.BaseView
|
||||
{
|
||||
#line 11 "DatabaseErrorPage.cshtml"
|
||||
|
||||
public DatabaseErrorPageModel Model { get; set; }
|
||||
|
||||
public string UrlEncode(string content)
|
||||
{
|
||||
return UrlEncoder.Encode(content);
|
||||
}
|
||||
|
||||
public string JavaScriptEncode(string content)
|
||||
{
|
||||
return JavaScriptEncoder.Encode(content);
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line hidden
|
||||
public DatabaseErrorPage()
|
||||
{
|
||||
}
|
||||
|
||||
#pragma warning disable 1998
|
||||
public override async Task ExecuteAsync()
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
#line 5 "DatabaseErrorPage.cshtml"
|
||||
|
||||
|
|
@ -60,7 +37,6 @@ using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Views
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(@"<!DOCTYPE html>
|
||||
|
||||
<html lang=""en"" xmlns=""http://www.w3.org/1999/xhtml"">
|
||||
|
|
@ -158,19 +134,12 @@ body .titleerror {
|
|||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</h1>\r\n <p>\r\n");
|
||||
#line 115 "DatabaseErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 115 "DatabaseErrorPage.cshtml"
|
||||
for (Exception ex = Model.Exception; ex != null; ex = ex.InnerException)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <span>");
|
||||
#line 117 "DatabaseErrorPage.cshtml"
|
||||
Write(ex.GetType().Name);
|
||||
|
|
@ -189,21 +158,13 @@ body .titleerror {
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </p>\r\n <hr />\r\n\r\n");
|
||||
#line 123 "DatabaseErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 123 "DatabaseErrorPage.cshtml"
|
||||
if (!Model.DatabaseExists && !Model.PendingMigrations.Any())
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <h2>");
|
||||
#line 125 "DatabaseErrorPage.cshtml"
|
||||
Write(Strings.FormatDatabaseErrorPage_NoDbOrMigrationsTitle(Model.ContextType.Name));
|
||||
|
|
@ -254,7 +215,6 @@ body .titleerror {
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <div>\r\n <h2>");
|
||||
#line 139 "DatabaseErrorPage.cshtml"
|
||||
Write(Strings.FormatDatabaseErrorPage_PendingMigrationsTitle(Model.ContextType.Name));
|
||||
|
|
@ -268,19 +228,12 @@ body .titleerror {
|
|||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</p>\r\n\r\n <ul>\r\n");
|
||||
#line 143 "DatabaseErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 143 "DatabaseErrorPage.cshtml"
|
||||
foreach (var migration in Model.PendingMigrations)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <li>");
|
||||
#line 145 "DatabaseErrorPage.cshtml"
|
||||
Write(migration);
|
||||
|
|
@ -293,7 +246,6 @@ body .titleerror {
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </ul>\r\n\r\n <p>\r\n <button id=\"applyMigrations\" onclick=\"ApplyMigrations()\">");
|
||||
#line 150 "DatabaseErrorPage.cshtml"
|
||||
Write(Strings.DatabaseErrorPage_ApplyMigrationsButton);
|
||||
|
|
@ -400,7 +352,6 @@ body .titleerror {
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <div>\r\n <h2>");
|
||||
#line 200 "DatabaseErrorPage.cshtml"
|
||||
Write(Strings.FormatDatabaseErrorPage_PendingChangesTitle(Model.ContextType.Name));
|
||||
|
|
@ -449,9 +400,25 @@ body .titleerror {
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral("</body>\r\n</html>");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#line 11 "DatabaseErrorPage.cshtml"
|
||||
|
||||
public DatabaseErrorPageModel Model { get; set; }
|
||||
|
||||
public string UrlEncode(string content)
|
||||
{
|
||||
return UrlEncoder.Encode(content);
|
||||
}
|
||||
|
||||
public string JavaScriptEncode(string content)
|
||||
{
|
||||
return JavaScriptEncoder.Encode(content);
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,58 +1,43 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Diagnostics.RazorViews
|
||||
{
|
||||
#line hidden
|
||||
#line 1 "CompilationErrorPage.cshtml"
|
||||
using System
|
||||
using System;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 2 "CompilationErrorPage.cshtml"
|
||||
using System.Globalization
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 3 "CompilationErrorPage.cshtml"
|
||||
using System.Linq
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 4 "CompilationErrorPage.cshtml"
|
||||
using System.Net
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 5 "CompilationErrorPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 6 "CompilationErrorPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.RazorViews
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
using System.Threading.Tasks;
|
||||
#line 2 "CompilationErrorPage.cshtml"
|
||||
using System.Globalization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 3 "CompilationErrorPage.cshtml"
|
||||
using System.Linq;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 4 "CompilationErrorPage.cshtml"
|
||||
using System.Net;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 5 "CompilationErrorPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line 6 "CompilationErrorPage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics.RazorViews;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
internal class CompilationErrorPage : Microsoft.Extensions.RazorViews.BaseView
|
||||
{
|
||||
#line 8 "CompilationErrorPage.cshtml"
|
||||
|
||||
public CompilationErrorPageModel Model { get; set; }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line hidden
|
||||
public CompilationErrorPage()
|
||||
{
|
||||
}
|
||||
|
||||
#pragma warning disable 1998
|
||||
public override async Task ExecuteAsync()
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
#line 11 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
|
@ -62,7 +47,6 @@ using Microsoft.AspNetCore.Diagnostics.RazorViews
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral("<!DOCTYPE html>\r\n<html>\r\n <head>\r\n <meta charset=\"utf-8\" />\r\n <title>");
|
||||
#line 20 "CompilationErrorPage.cshtml"
|
||||
Write(Resources.ErrorPageHtml_Title);
|
||||
|
|
@ -281,12 +265,6 @@ a {
|
|||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</h1>\r\n");
|
||||
#line 223 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 223 "CompilationErrorPage.cshtml"
|
||||
|
||||
var exceptionDetailId = "";
|
||||
|
|
@ -294,7 +272,6 @@ a {
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" ");
|
||||
#line 226 "CompilationErrorPage.cshtml"
|
||||
for (var i = 0; i < Model.ErrorDetails.Count; i++)
|
||||
|
|
@ -305,362 +282,257 @@ a {
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <div id=\"stackpage\" class=\"page\">\r\n");
|
||||
#line 232 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 232 "CompilationErrorPage.cshtml"
|
||||
|
||||
var stackFrameCount = 0;
|
||||
var frameId = "";
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" ");
|
||||
#line 236 "CompilationErrorPage.cshtml"
|
||||
|
||||
var fileName = errorDetail.StackFrames.FirstOrDefault()?.File;
|
||||
if (!string.IsNullOrEmpty(fileName))
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <div class=\"titleerror\">");
|
||||
#line 240 "CompilationErrorPage.cshtml"
|
||||
#line 238 "CompilationErrorPage.cshtml"
|
||||
Write(fileName);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</div>\r\n");
|
||||
#line 241 "CompilationErrorPage.cshtml"
|
||||
#line 239 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" ");
|
||||
#line 243 "CompilationErrorPage.cshtml"
|
||||
#line 241 "CompilationErrorPage.cshtml"
|
||||
if (!string.IsNullOrEmpty(errorDetail.ErrorMessage))
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <div class=\"details\">");
|
||||
#line 245 "CompilationErrorPage.cshtml"
|
||||
#line 243 "CompilationErrorPage.cshtml"
|
||||
Write(errorDetail.ErrorMessage);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</div>\r\n");
|
||||
#line 246 "CompilationErrorPage.cshtml"
|
||||
#line 244 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <br />\r\n <ul>\r\n");
|
||||
#line 249 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 249 "CompilationErrorPage.cshtml"
|
||||
#line 247 "CompilationErrorPage.cshtml"
|
||||
foreach (var frame in errorDetail.StackFrames)
|
||||
{
|
||||
|
||||
stackFrameCount++;
|
||||
frameId = "frame" + stackFrameCount;
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 251 "CompilationErrorPage.cshtml"
|
||||
|
||||
stackFrameCount++;
|
||||
frameId = "frame" + stackFrameCount;
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 254 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <li class=\"frame\"");
|
||||
BeginWriteAttribute("id", " id=\"", 5361, "\"", 5374, 1);
|
||||
#line 255 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 5366, frameId, 5366, 8, false);
|
||||
BeginWriteAttribute("id", " id=\"", 5268, "\"", 5281, 1);
|
||||
#line 252 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 5273, frameId, 5273, 8, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(">\r\n");
|
||||
#line 256 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 256 "CompilationErrorPage.cshtml"
|
||||
#line 253 "CompilationErrorPage.cshtml"
|
||||
if (!string.IsNullOrEmpty(frame.ErrorDetails))
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <h3>");
|
||||
#line 258 "CompilationErrorPage.cshtml"
|
||||
#line 255 "CompilationErrorPage.cshtml"
|
||||
Write(frame.ErrorDetails);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</h3>\r\n");
|
||||
#line 259 "CompilationErrorPage.cshtml"
|
||||
#line 256 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral("\r\n");
|
||||
#line 261 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 261 "CompilationErrorPage.cshtml"
|
||||
#line 258 "CompilationErrorPage.cshtml"
|
||||
if (frame.Line != 0 && frame.ContextCode.Any())
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <button class=\"expandCollapseButton\" data-frameId=\"");
|
||||
#line 263 "CompilationErrorPage.cshtml"
|
||||
#line 260 "CompilationErrorPage.cshtml"
|
||||
Write(frameId);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\">+</button>\r\n <div class=\"source\">\r\n");
|
||||
#line 265 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 265 "CompilationErrorPage.cshtml"
|
||||
#line 262 "CompilationErrorPage.cshtml"
|
||||
if (frame.PreContextCode.Any())
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <ol");
|
||||
BeginWriteAttribute("start", " start=\"", 5957, "\"", 5986, 1);
|
||||
#line 267 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 5965, frame.PreContextLine, 5965, 21, false);
|
||||
BeginWriteAttribute("start", " start=\"", 5864, "\"", 5893, 1);
|
||||
#line 264 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 5872, frame.PreContextLine, 5872, 21, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(" class=\"collapsible\">\r\n");
|
||||
#line 268 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 268 "CompilationErrorPage.cshtml"
|
||||
#line 265 "CompilationErrorPage.cshtml"
|
||||
foreach (var line in frame.PreContextCode)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <li><span>");
|
||||
#line 270 "CompilationErrorPage.cshtml"
|
||||
#line 267 "CompilationErrorPage.cshtml"
|
||||
Write(line);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</span></li>\r\n");
|
||||
#line 271 "CompilationErrorPage.cshtml"
|
||||
#line 268 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </ol>\r\n");
|
||||
#line 273 "CompilationErrorPage.cshtml"
|
||||
#line 270 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <ol");
|
||||
BeginWriteAttribute("start", " start=\"", 6367, "\"", 6386, 1);
|
||||
#line 274 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 6375, frame.Line, 6375, 11, false);
|
||||
BeginWriteAttribute("start", " start=\"", 6274, "\"", 6293, 1);
|
||||
#line 271 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 6282, frame.Line, 6282, 11, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(" class=\"highlight\">\r\n");
|
||||
#line 275 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 275 "CompilationErrorPage.cshtml"
|
||||
#line 272 "CompilationErrorPage.cshtml"
|
||||
foreach (var line in frame.ContextCode)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <li><span>");
|
||||
#line 277 "CompilationErrorPage.cshtml"
|
||||
#line 274 "CompilationErrorPage.cshtml"
|
||||
Write(line);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</span></li>\r\n");
|
||||
#line 278 "CompilationErrorPage.cshtml"
|
||||
#line 275 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </ol>\r\n");
|
||||
#line 280 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 280 "CompilationErrorPage.cshtml"
|
||||
#line 277 "CompilationErrorPage.cshtml"
|
||||
if (frame.PostContextCode.Any())
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <ol");
|
||||
BeginWriteAttribute("start", " start=\'", 6813, "\'", 6838, 1);
|
||||
#line 282 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 6821, frame.Line + 1, 6821, 17, false);
|
||||
BeginWriteAttribute("start", " start=\'", 6720, "\'", 6745, 1);
|
||||
#line 279 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 6728, frame.Line + 1, 6728, 17, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(" class=\"collapsible\">\r\n");
|
||||
#line 283 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 283 "CompilationErrorPage.cshtml"
|
||||
#line 280 "CompilationErrorPage.cshtml"
|
||||
foreach (var line in frame.PostContextCode)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <li><span>");
|
||||
#line 285 "CompilationErrorPage.cshtml"
|
||||
#line 282 "CompilationErrorPage.cshtml"
|
||||
Write(line);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</span></li>\r\n");
|
||||
#line 286 "CompilationErrorPage.cshtml"
|
||||
#line 283 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </ol>\r\n");
|
||||
#line 288 "CompilationErrorPage.cshtml"
|
||||
#line 285 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </div>\r\n");
|
||||
#line 290 "CompilationErrorPage.cshtml"
|
||||
#line 287 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </li>\r\n");
|
||||
#line 292 "CompilationErrorPage.cshtml"
|
||||
#line 289 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" </ul>\r\n <br />\r\n </div>\r\n");
|
||||
#line 296 "CompilationErrorPage.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 296 "CompilationErrorPage.cshtml"
|
||||
#line 293 "CompilationErrorPage.cshtml"
|
||||
if (!string.IsNullOrEmpty(Model.CompiledContent[i]))
|
||||
{
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(" <div class=\"rawExceptionBlock\">\r\n <div class=\"showRawExceptionContainer\">\r\n <button class=\"showRawException\" data-exceptionDetailId=\"");
|
||||
#line 300 "CompilationErrorPage.cshtml"
|
||||
#line 297 "CompilationErrorPage.cshtml"
|
||||
Write(exceptionDetailId);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\">Show compilation source</button>\r\n </div>\r\n <div");
|
||||
BeginWriteAttribute("id", " id=\"", 7741, "\"", 7764, 1);
|
||||
#line 302 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 7746, exceptionDetailId, 7746, 18, false);
|
||||
BeginWriteAttribute("id", " id=\"", 7647, "\"", 7670, 1);
|
||||
#line 299 "CompilationErrorPage.cshtml"
|
||||
WriteAttributeValue("", 7652, exceptionDetailId, 7652, 18, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(" class=\"rawExceptionDetails\">\r\n <pre class=\"rawExceptionStackTrace\">");
|
||||
#line 303 "CompilationErrorPage.cshtml"
|
||||
#line 300 "CompilationErrorPage.cshtml"
|
||||
Write(Model.CompiledContent[i]);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</pre>\r\n </div>\r\n </div>\r\n");
|
||||
#line 306 "CompilationErrorPage.cshtml"
|
||||
#line 303 "CompilationErrorPage.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 306 "CompilationErrorPage.cshtml"
|
||||
#line 303 "CompilationErrorPage.cshtml"
|
||||
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral(@"
|
||||
<script>
|
||||
//<!--
|
||||
|
|
@ -868,5 +740,12 @@ WriteAttributeValue("", 7746, exceptionDetailId, 7746, 18, false);
|
|||
");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#line 8 "CompilationErrorPage.cshtml"
|
||||
|
||||
public CompilationErrorPageModel Model { get; set; }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -36,8 +36,6 @@
|
|||
@{
|
||||
var stackFrameCount = 0;
|
||||
var frameId = "";
|
||||
}
|
||||
@{
|
||||
var fileName = errorDetail.StackFrames.FirstOrDefault()?.File;
|
||||
if (!string.IsNullOrEmpty(fileName))
|
||||
{
|
||||
|
|
@ -52,10 +50,9 @@
|
|||
<ul>
|
||||
@foreach (var frame in errorDetail.StackFrames)
|
||||
{
|
||||
@{
|
||||
stackFrameCount++;
|
||||
frameId = "frame" + stackFrameCount;
|
||||
}
|
||||
stackFrameCount++;
|
||||
frameId = "frame" + stackFrameCount;
|
||||
|
||||
<li class="frame" id="@frameId">
|
||||
@if (!string.IsNullOrEmpty(frame.ErrorDetails))
|
||||
{
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -33,12 +33,11 @@
|
|||
@foreach (var errorDetail in Model.ErrorDetails)
|
||||
{
|
||||
<div class="titleerror">@errorDetail.Error.GetType().Name: @{ Output.Write(HtmlEncodeAndReplaceLineBreaks(errorDetail.Error.Message)); }</div>
|
||||
@{
|
||||
var firstFrame = errorDetail.StackFrames.FirstOrDefault();
|
||||
if (firstFrame != null)
|
||||
{
|
||||
location = firstFrame.Function;
|
||||
}
|
||||
|
||||
var firstFrame = errorDetail.StackFrames.FirstOrDefault();
|
||||
if (firstFrame != null)
|
||||
{
|
||||
location = firstFrame.Function;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(location) && firstFrame != null && !string.IsNullOrEmpty(firstFrame.File))
|
||||
{
|
||||
|
|
@ -93,19 +92,17 @@
|
|||
}
|
||||
@foreach (var errorDetail in Model.ErrorDetails)
|
||||
{
|
||||
@{
|
||||
exceptionCount++;
|
||||
exceptionDetailId = "exceptionDetail" + exceptionCount;
|
||||
}
|
||||
exceptionCount++;
|
||||
exceptionDetailId = "exceptionDetail" + exceptionCount;
|
||||
|
||||
<li>
|
||||
<h2 class="stackerror">@errorDetail.Error.GetType().Name: @errorDetail.Error.Message</h2>
|
||||
<ul>
|
||||
@foreach (var frame in errorDetail.StackFrames)
|
||||
{
|
||||
@{
|
||||
stackFrameCount++;
|
||||
frameId = "frame" + stackFrameCount;
|
||||
}
|
||||
stackFrameCount++;
|
||||
frameId = "frame" + stackFrameCount;
|
||||
|
||||
<li class="frame" id="@frameId">
|
||||
@if (string.IsNullOrEmpty(frame.File))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,28 +1,23 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Diagnostics.RazorViews
|
||||
{
|
||||
#line hidden
|
||||
#line 1 "WelcomePage.cshtml"
|
||||
using System
|
||||
using System;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
#line 2 "WelcomePage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
;
|
||||
using System.Threading.Tasks;
|
||||
#line 2 "WelcomePage.cshtml"
|
||||
using Microsoft.AspNetCore.Diagnostics;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
internal class WelcomePage : Microsoft.Extensions.RazorViews.BaseView
|
||||
{
|
||||
#line hidden
|
||||
public WelcomePage()
|
||||
{
|
||||
}
|
||||
|
||||
#pragma warning disable 1998
|
||||
public override async Task ExecuteAsync()
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
#line 3 "WelcomePage.cshtml"
|
||||
|
||||
|
|
@ -30,7 +25,6 @@ using Microsoft.AspNetCore.Diagnostics
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
WriteLiteral("<!DOCTYPE html>\r\n<html");
|
||||
BeginWriteAttribute("lang", " lang=\"", 141, "\"", 223, 1);
|
||||
#line 7 "WelcomePage.cshtml"
|
||||
|
|
@ -45,9 +39,8 @@ WriteAttributeValue("", 148, System.Globalization.CultureInfo.CurrentUICulture.T
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(@"</title>
|
||||
<style type=""text/css"">
|
||||
@font-face {
|
||||
WriteLiteral("</title>\r\n <style type=\"text/css\">\r\n ");
|
||||
WriteLiteral(@"@font-face {
|
||||
font-family: 'SegoeLight', helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
|
@ -85,9 +78,9 @@ WriteAttributeValue("", 148, System.Globalization.CultureInfo.CurrentUICulture.T
|
|||
}
|
||||
|
||||
.content .bodyContent a {
|
||||
");
|
||||
WriteLiteral(@" color: #fff;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
text-decorat");
|
||||
WriteLiteral(@"ion: none;
|
||||
}
|
||||
|
||||
.content .bodyContent a:hover {
|
||||
|
|
@ -121,9 +114,9 @@ WriteAttributeValue("", 148, System.Globalization.CultureInfo.CurrentUICulture.T
|
|||
}
|
||||
|
||||
.content .bodyCTA div img {
|
||||
");
|
||||
WriteLiteral(@" position: absolute;
|
||||
top: 0;
|
||||
position: absolute;
|
||||
");
|
||||
WriteLiteral(@" top: 0;
|
||||
left: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
|
@ -163,10 +156,10 @@ WriteAttributeValue("", 148, System.Globalization.CultureInfo.CurrentUICulture.T
|
|||
.browser div {
|
||||
width: 384px;
|
||||
height: 305px;
|
||||
position: absol");
|
||||
WriteLiteral(@"ute;
|
||||
position: absolute;
|
||||
top: 40px;
|
||||
left: 100px;
|
||||
");
|
||||
WriteLiteral(@" left: 100px;
|
||||
font-size: 200px;
|
||||
text-align: left;
|
||||
-webkit-touch-callout: none;
|
||||
|
|
@ -206,11 +199,11 @@ WriteAttributeValue("", 148, System.Globalization.CultureInfo.CurrentUICulture.T
|
|||
<div class=""wrapper"">
|
||||
<div class=""innerwrapper"">
|
||||
<div class=""light first"">
|
||||
");
|
||||
WriteLiteral(@" <img src=""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARIAAAESCAYAAAAxN1ojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACKhJREFUeNrs3TFPG0kYgOE1kou4IIVTUITiXJAiFFxBk/8vGopQQBEKKFyci7jAhRsX3E4YB3I5Asva3p2Z55EspJNOOq/3Xn8zu7arCgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADI1MAhILi/v9+v/wwb/murwWCwcPQQknJCMa7/jOLj3X/+bsKqfiye/F3Gx6KOzcorICSkGY0P9WM/hmK/4/+kZYxLeHwXFyGh3+EYx0cK1lGZh4ewCAm7D0fYyziIjxCOYQZPaxajMqujsvQqCwnbj8dB5k83TCtTURESNheQdTgOCz0EsxiUqbNBSGg+fUzqx8dqc1dVUreKU8qtKUVI+HNAQjSOCp4+mkwpN3VQ5g6FkPAYkHGMh4A0E0LyTVCEpPSAhPs7jqt0LtkKCkJiCVNEUC7dti8kuQdkvYl65GhsVdiUvXKTm5DkGJ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PijDGJO/Cl72hOkjhOPWzWRCQvuo7MeoHBQQlVWMx8z0ISSIingICYlEZRSDMo6PlL4TZR4f//g4v5DQv2nlQ/Vws9v7qj83vYX9jUUMx527ToWE9OIyjkugUfV4aXlbl5gXcZkyj3/vwj9zmVZIyH+CWS+H3jdYGq0j8XAimTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHL0rwADANq3ok68n5URAAAAAElFTkSuQm");
|
||||
WriteLiteral("CC\"");
|
||||
BeginWriteAttribute("alt", "\r\n alt=\"", 7518, "\"", 7586, 1);
|
||||
#line 169 "WelcomePage.cshtml"
|
||||
WriteAttributeValue("", 7545, Resources.WelcomePageImageText_LightBulb, 7545, 41, false);
|
||||
|
|
@ -370,3 +363,4 @@ WriteAttributeValue("", 49215, Resources.WelcomePageImageText_LearnMore, 49215,
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
Loading…
Reference in New Issue