File: Components_Pages_Counter_razor.g.cs
Project: src\playground\ExternalServices\WebFrontEnd\WebFrontEnd.csproj (WebFrontEnd)
#pragma checksum "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\Pages\Counter.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "779f65d35e2683a6be0a75bdcfb898e1a24bc1d2ed3cfe40269a86ba685f2df9"
// <auto-generated/>
#pragma warning disable 1591
namespace WebFrontEnd.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\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using System.Net.Http
 
#nullable disable
    ;
#nullable restore
#line (2,2)-(2,28) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using System.Net.Http.Json
 
#nullable disable
    ;
#nullable restore
#line (3,2)-(3,45) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms
 
#nullable disable
    ;
#nullable restore
#line (4,2)-(4,47) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing
 
#nullable disable
    ;
#nullable restore
#line (5,2)-(5,43) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web
 
#nullable disable
    ;
#nullable restore
#line (6,2)-(6,61) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\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\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization
 
#nullable disable
    ;
#nullable restore
#line (8,2)-(8,27) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using Microsoft.JSInterop
 
#nullable disable
    ;
#nullable restore
#line (9,2)-(9,19) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using WebFrontEnd
 
#nullable disable
    ;
#nullable restore
#line (10,2)-(10,30) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\_Imports.razor"
using WebFrontEnd.Components
 
#nullable disable
    ;
    #line default
    #line hidden
    [global::Microsoft.AspNetCore.Components.RouteAttribute(
    // language=Route,Component
#nullable restore
#line (1,7)-(1,17) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\Pages\Counter.razor"
"/counter"
 
#line default
#line hidden
#nullable disable
    )]
    [global::WebFrontEnd.Components.Pages.Counter.__PrivateComponentRenderModeAttribute]
    #nullable restore
    public partial class Counter : 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, "Counter");
            }
            ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(3, "\r\n\r\n");
            __builder.AddMarkupContent(4, "<h1>Counter</h1>\r\n\r\n");
            __builder.OpenElement(5, "p");
            __builder.AddAttribute(6, "role", "status");
            __builder.AddContent(7, "Current count: ");
#nullable restore
#line (8,34)-(8,46) 24 "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\Pages\Counter.razor"
__builder.AddContent(8, currentCount
 
#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(9, "\r\n\r\n");
            __builder.OpenElement(10, "button");
            __builder.AddAttribute(11, "class", "btn btn-primary");
            __builder.AddAttribute(12, "onclick", global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line (10,43)-(10,57) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\Pages\Counter.razor"
IncrementCount
 
#line default
#line hidden
#nullable disable
            ));
            __builder.AddContent(13, "Click me");
            __builder.CloseElement();
        }
        #pragma warning restore 1998
#nullable restore
#line (12,8)-(19,1) "D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\Components\Pages\Counter.razor"
 
    private int currentCount = 0;
 
    private void IncrementCount()
    {
        currentCount++;
    }
 
#line default
#line hidden
#nullable disable
 
        private sealed class __PrivateComponentRenderModeAttribute : global::Microsoft.AspNetCore.Components.RenderModeAttribute
        {
            private static global::Microsoft.AspNetCore.Components.IComponentRenderMode ModeImpl => InteractiveServer
            ;
            public override global::Microsoft.AspNetCore.Components.IComponentRenderMode Mode => ModeImpl;
        }
    }
}
#pragma warning restore 1591