|
#pragma checksum "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\Pages\Error.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "d16238fee75d5d719137620d452fea0c339d0f050164dcb347fc4fe554fe8373"
// <auto-generated/>
#pragma warning disable 1591
namespace MyFrontend.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\TestShop\MyFrontend\Components\_Imports.razor"
using System.Net.Http
#nullable disable
;
#nullable restore
#line (2,2)-(2,28) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using System.Net.Http.Json
#nullable disable
;
#nullable restore
#line (3,2)-(3,45) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms
#nullable disable
;
#nullable restore
#line (4,2)-(4,47) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing
#nullable disable
;
#nullable restore
#line (5,2)-(5,43) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web
#nullable disable
;
#nullable restore
#line (6,2)-(6,61) "D:\a\_work\1\s\playground\TestShop\MyFrontend\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\TestShop\MyFrontend\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization
#nullable disable
;
#nullable restore
#line (8,2)-(8,27) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using Microsoft.JSInterop
#nullable disable
;
#nullable restore
#line (9,2)-(9,18) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using MyFrontend
#nullable disable
;
#nullable restore
#line (10,2)-(10,29) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using MyFrontend.Components
#nullable disable
;
#nullable restore
#line (11,2)-(11,36) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using MyFrontend.Components.Layout
#nullable disable
;
#nullable restore
#line (12,2)-(12,27) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using MyFrontend.Services
#nullable disable
;
#nullable restore
#line (13,2)-(13,28) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\_Imports.razor"
using BasketService.Models
#nullable disable
;
#nullable restore
#line (3,2)-(3,26) "D:\a\_work\1\s\playground\TestShop\MyFrontend\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\TestShop\MyFrontend\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 (10,2)-(12,1) "D:\a\_work\1\s\playground\TestShop\MyFrontend\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 (13,45)-(13,54) 24 "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\Pages\Error.razor"
__builder.AddContent(9, requestId
#line default
#line hidden
#nullable disable
);
__builder.CloseElement();
__builder.CloseElement();
#nullable restore
#line (15,1)-(16,1) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\Pages\Error.razor"
}
#line default
#line hidden
#nullable disable
}
#pragma warning restore 1998
#nullable restore
#line (17,8)-(28,1) "D:\a\_work\1\s\playground\TestShop\MyFrontend\Components\Pages\Error.razor"
private string? requestId;
private bool showRequestId => !string.IsNullOrEmpty(requestId);
[CascadingParameter]
public HttpContext? HttpContext { get; set; }
protected override void OnInitialized()
{
requestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
}
#line default
#line hidden
#nullable disable
}
}
#pragma warning restore 1591
|