| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- #pragma checksum "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3fc4241ce954e7cc8a6e09d98e508e8f41675d80"
- // <auto-generated/>
- #pragma warning disable 1591
- namespace CaritasPWA.Pages
- {
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- #nullable restore
- #line 1 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using System.Net.Http;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 2 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using System.Net.Http.Json;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 3 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using Microsoft.AspNetCore.Components.Forms;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 4 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using Microsoft.AspNetCore.Components.Routing;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 5 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using Microsoft.AspNetCore.Components.Web;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 6 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using Microsoft.AspNetCore.Components.WebAssembly.Http;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 7 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using Microsoft.JSInterop;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 8 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using CaritasPWA;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 9 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using CaritasPWA.Shared;
-
- #line default
- #line hidden
- #nullable disable
- #nullable restore
- #line 10 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
- using MatBlazor;
-
- #line default
- #line hidden
- #nullable disable
- [Microsoft.AspNetCore.Components.RouteAttribute("/counter")]
- public partial class Counter : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
- {
- __builder.AddMarkupContent(0, "<h1>Counter</h1>\r\n\r\n");
- __builder.OpenElement(1, "p");
- __builder.AddContent(2, "Current count: ");
- __builder.AddContent(3,
- #nullable restore
- #line 5 "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor"
- currentCount
-
- #line default
- #line hidden
- #nullable disable
- );
- __builder.CloseElement();
- __builder.AddMarkupContent(4, "\r\n\r\n\r\n");
- __builder.OpenComponent<MatBlazor.MatButton>(5);
- __builder.AddAttribute(6, "Raised", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
- #nullable restore
- #line 9 "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor"
- true
-
- #line default
- #line hidden
- #nullable disable
- ));
- __builder.AddAttribute(7, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
- #nullable restore
- #line 9 "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor"
- IncrementCount
-
- #line default
- #line hidden
- #nullable disable
- ));
- __builder.AddAttribute(8, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
- __builder2.AddContent(9, "Click me!");
- }
- ));
- __builder.CloseComponent();
- }
- #pragma warning restore 1998
- #nullable restore
- #line 12 "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor"
-
- private int currentCount = 0;
-
- private void IncrementCount()
- {
- currentCount++;
- }
-
- #line default
- #line hidden
- #nullable disable
- }
- }
- #pragma warning restore 1591
|