PWA Fundvelo der Caritas.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Counter.razor.g.cs 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. #pragma checksum "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3fc4241ce954e7cc8a6e09d98e508e8f41675d80"
  2. // <auto-generated/>
  3. #pragma warning disable 1591
  4. namespace CaritasPWA.Pages
  5. {
  6. #line hidden
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Linq;
  10. using System.Threading.Tasks;
  11. using Microsoft.AspNetCore.Components;
  12. #nullable restore
  13. #line 1 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  14. using System.Net.Http;
  15. #line default
  16. #line hidden
  17. #nullable disable
  18. #nullable restore
  19. #line 2 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  20. using System.Net.Http.Json;
  21. #line default
  22. #line hidden
  23. #nullable disable
  24. #nullable restore
  25. #line 3 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  26. using Microsoft.AspNetCore.Components.Forms;
  27. #line default
  28. #line hidden
  29. #nullable disable
  30. #nullable restore
  31. #line 4 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  32. using Microsoft.AspNetCore.Components.Routing;
  33. #line default
  34. #line hidden
  35. #nullable disable
  36. #nullable restore
  37. #line 5 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  38. using Microsoft.AspNetCore.Components.Web;
  39. #line default
  40. #line hidden
  41. #nullable disable
  42. #nullable restore
  43. #line 6 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  44. using Microsoft.AspNetCore.Components.WebAssembly.Http;
  45. #line default
  46. #line hidden
  47. #nullable disable
  48. #nullable restore
  49. #line 7 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  50. using Microsoft.JSInterop;
  51. #line default
  52. #line hidden
  53. #nullable disable
  54. #nullable restore
  55. #line 8 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  56. using CaritasPWA;
  57. #line default
  58. #line hidden
  59. #nullable disable
  60. #nullable restore
  61. #line 9 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  62. using CaritasPWA.Shared;
  63. #line default
  64. #line hidden
  65. #nullable disable
  66. #nullable restore
  67. #line 10 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
  68. using MatBlazor;
  69. #line default
  70. #line hidden
  71. #nullable disable
  72. [Microsoft.AspNetCore.Components.RouteAttribute("/counter")]
  73. public partial class Counter : Microsoft.AspNetCore.Components.ComponentBase
  74. {
  75. #pragma warning disable 1998
  76. protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
  77. {
  78. __builder.AddMarkupContent(0, "<h1>Counter</h1>\r\n\r\n");
  79. __builder.OpenElement(1, "p");
  80. __builder.AddContent(2, "Current count: ");
  81. __builder.AddContent(3,
  82. #nullable restore
  83. #line 5 "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor"
  84. currentCount
  85. #line default
  86. #line hidden
  87. #nullable disable
  88. );
  89. __builder.CloseElement();
  90. __builder.AddMarkupContent(4, "\r\n\r\n\r\n");
  91. __builder.OpenComponent<MatBlazor.MatButton>(5);
  92. __builder.AddAttribute(6, "Raised", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
  93. #nullable restore
  94. #line 9 "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor"
  95. true
  96. #line default
  97. #line hidden
  98. #nullable disable
  99. ));
  100. __builder.AddAttribute(7, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
  101. #nullable restore
  102. #line 9 "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor"
  103. IncrementCount
  104. #line default
  105. #line hidden
  106. #nullable disable
  107. ));
  108. __builder.AddAttribute(8, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
  109. __builder2.AddContent(9, "Click me!");
  110. }
  111. ));
  112. __builder.CloseComponent();
  113. }
  114. #pragma warning restore 1998
  115. #nullable restore
  116. #line 12 "D:\Work\Caritas\CaritasPWA\Pages\Counter.razor"
  117. private int currentCount = 0;
  118. private void IncrementCount()
  119. {
  120. currentCount++;
  121. }
  122. #line default
  123. #line hidden
  124. #nullable disable
  125. }
  126. }
  127. #pragma warning restore 1591