|
#pragma checksum "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\Pages\Error.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "e77473780e53f2ba6d42105b745d3eca7cdbdaec1d407bc46a8ce9338b43eb29"
// <auto-generated/>
#pragma warning disable 1591
namespace Publishers.Frontend.Components.Pages
{
#line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
#nullable restore
#line (1,2)-(1,23) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using System.Net.Http
#nullable disable
;
#nullable restore
#line (2,2)-(2,28) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using System.Net.Http.Json
#nullable disable
;
#nullable restore
#line (3,2)-(3,45) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms
#nullable disable
;
#nullable restore
#line (4,2)-(4,47) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing
#nullable disable
;
#nullable restore
#line (5,2)-(5,43) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web
#nullable disable
;
#nullable restore
#line (6,2)-(6,61) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using static Microsoft.AspNetCore.Components.Web.RenderMode
#nullable disable
;
#nullable restore
#line (7,2)-(7,58) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization
#nullable disable
;
#nullable restore
#line (8,2)-(8,27) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using Microsoft.JSInterop
#nullable disable
;
#nullable restore
#line (9,2)-(9,27) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using Publishers.Frontend
#nullable disable
;
#nullable restore
#line (10,2)-(10,38) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\_Imports.razor"
using Publishers.Frontend.Components
#nullable disable
;
#nullable restore
#line (2,2)-(2,26) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\Pages\Error.razor"
using System.Diagnostics
#nullable disable
;
#line default
#line hidden
[global::Microsoft.AspNetCore.Components.RouteAttribute(
// language=Route,Component
#nullable restore
#line (1,7)-(1,15) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\Pages\Error.razor"
"/Error"
#line default
#line hidden
#nullable disable
)]
#nullable restore
public partial class Error : global::Microsoft.AspNetCore.Components.ComponentBase
#nullable disable
{
#pragma warning disable 1998
protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
{
__builder.OpenComponent<global::Microsoft.AspNetCore.Components.Web.PageTitle>(0);
__builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
__builder2.AddContent(2, "Error");
}
));
__builder.CloseComponent();
__builder.AddMarkupContent(3, "\r\n\r\n");
__builder.AddMarkupContent(4, "<h1 class=\"text-danger\">Error.</h1>\r\n");
__builder.AddMarkupContent(5, "<h2 class=\"text-danger\">An error occurred while processing your request.</h2>");
#nullable restore
#line (9,2)-(11,1) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\Pages\Error.razor"
if (ShowRequestId)
{
#line default
#line hidden
#nullable disable
__builder.OpenElement(6, "p");
__builder.AddMarkupContent(7, "<strong>Request ID:</strong> ");
__builder.OpenElement(8, "code");
#nullable restore
#line (12,45)-(12,54) 24 "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\Pages\Error.razor"
__builder.AddContent(9, RequestId
#line default
#line hidden
#nullable disable
);
__builder.CloseElement();
__builder.CloseElement();
#nullable restore
#line (14,1)-(15,1) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\Pages\Error.razor"
}
#line default
#line hidden
#nullable disable
__builder.AddMarkupContent(10, "<h3>Development Mode</h3>\r\n");
__builder.AddMarkupContent(11, "<p>\r\n Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.\r\n</p>\r\n");
__builder.AddMarkupContent(12, @"<p><strong>The Development environment shouldn't be enabled for deployed applications.</strong>
It can result in displaying sensitive information from exceptions to end users.
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
and restarting the app.
</p>");
}
#pragma warning restore 1998
#nullable restore
#line (27,7)-(36,1) "D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Components\Pages\Error.razor"
[CascadingParameter]
private HttpContext? HttpContext { get; set; }
private string? RequestId { get; set; }
private bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
protected override void OnInitialized() =>
RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
#line default
#line hidden
#nullable disable
}
}
#pragma warning restore 1591
|