|
#pragma checksum "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3d48521bd6d1903186848814063dce53be5361eab8992b3bc1996e3160a251a8"
// <auto-generated/>
#pragma warning disable 1591
namespace Wasm.Performance.TestApp.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\src\Components\benchmarkapps\Wasm.Performance\TestApp\_Imports.razor"
using System.Net.Http
#nullable disable
;
#nullable restore
#line (2,2)-(2,47) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing
#nullable disable
;
#nullable restore
#line (3,2)-(3,45) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms
#nullable disable
;
#nullable restore
#line (4,2)-(4,43) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\_Imports.razor"
using Microsoft.AspNetCore.Components.Web
#nullable disable
;
#nullable restore
#line (5,2)-(5,27) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\_Imports.razor"
using Microsoft.JSInterop
#nullable disable
;
#nullable restore
#line (6,2)-(6,32) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\_Imports.razor"
using Wasm.Performance.TestApp
#nullable disable
;
#nullable restore
#line (7,2)-(7,39) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\_Imports.razor"
using Wasm.Performance.TestApp.Shared
#nullable disable
;
#line default
#line hidden
[global::Microsoft.AspNetCore.Components.LayoutAttribute(typeof(
#nullable restore
#line (1,9)-(1,19) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\_Imports.razor"
MainLayout
#line default
#line hidden
#nullable disable
))]
#nullable restore
public partial class PersonDisplay : global::Microsoft.AspNetCore.Components.ComponentBase
#nullable disable
{
#pragma warning disable 1998
protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
{
__builder.OpenElement(0, "div");
__builder.AddAttribute(1, "class", "person");
__builder.OpenElement(2, "h2");
#nullable restore
#line (5,10)-(5,21) 24 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
__builder.AddContent(3, Person.Name
#line default
#line hidden
#nullable disable
);
#nullable restore
#line (6,1)-(6,9) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
#line default
#line hidden
#nullable disable
#nullable restore
#line (6,10)-(8,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
if (Person.IsAdmin)
{
#line default
#line hidden
#nullable disable
__builder.AddMarkupContent(4, "<span>[Administrator]</span>");
#nullable restore
#line (9,1)-(10,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
}
#line default
#line hidden
#nullable disable
__builder.CloseElement();
__builder.AddMarkupContent(5, "\r\n\r\n Salary: $");
__builder.OpenElement(6, "h3");
__builder.AddAttribute(7, "class", "salary");
#nullable restore
#line (12,34)-(12,47) 24 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
__builder.AddContent(8, Person.Salary
#line default
#line hidden
#nullable disable
);
__builder.CloseElement();
__builder.AddMarkupContent(9, "\r\n\r\n ");
__builder.OpenComponent<global::Microsoft.AspNetCore.Components.Forms.EditForm>(10);
__builder.AddComponentParameter(11, nameof(global::Microsoft.AspNetCore.Components.Forms.EditForm.
#nullable restore
#line (14,15)-(14,20) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
Model
#line default
#line hidden
#nullable disable
), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Object>(
#nullable restore
#line (14,22)-(14,28) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
Person
#line default
#line hidden
#nullable disable
));
__builder.AddAttribute(12, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment<global::Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder2) => {
__builder2.OpenElement(13, "div");
__builder2.AddMarkupContent(14, "<label>Salary</label>\r\n ");
global::__Blazor.Wasm.Performance.TestApp.Pages.PersonDisplay.TypeInference.CreateInputNumber_0(__builder2, 15, 16,
#nullable restore
#line (17,39)-(17,52) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
Person.Salary
#line default
#line hidden
#nullable disable
, 17, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => Person.Salary = __value, Person.Salary)), 18, () => Person.Salary);
__builder2.CloseElement();
__builder2.AddMarkupContent(19, "\r\n\r\n ");
__builder2.OpenElement(20, "div");
__builder2.AddMarkupContent(21, "<label>Adminstrator: </label>\r\n ");
__builder2.OpenComponent<global::Microsoft.AspNetCore.Components.Forms.InputCheckbox>(22);
__builder2.AddComponentParameter(23, nameof(global::Microsoft.AspNetCore.Components.Forms.InputCheckbox.
#nullable restore
#line (22,34)-(22,39) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
Value
#line default
#line hidden
#nullable disable
), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Boolean>(
#nullable restore
#line (22,41)-(22,55) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
Person.IsAdmin
#line default
#line hidden
#nullable disable
));
__builder2.AddComponentParameter(24, nameof(global::Microsoft.AspNetCore.Components.Forms.InputCheckbox.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::System.Boolean>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::System.Boolean>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => Person.IsAdmin = __value, Person.IsAdmin))));
__builder2.AddComponentParameter(25, nameof(global::Microsoft.AspNetCore.Components.Forms.InputCheckbox.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<global::System.Boolean>>>(() => Person.IsAdmin));
__builder2.CloseComponent();
__builder2.CloseElement();
}
));
__builder.CloseComponent();
__builder.AddMarkupContent(26, "\r\n\r\n ");
__builder.OpenElement(27, "ul");
#nullable restore
#line (27,1)-(27,9) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
#line default
#line hidden
#nullable disable
#nullable restore
#line (27,10)-(29,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
foreach (var kvp in Person.SecurityClearances)
{
#line default
#line hidden
#nullable disable
__builder.OpenElement(28, "li");
#nullable restore
#line (29,18)-(29,25) 25 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
__builder.AddContent(29, kvp.Key
#line default
#line hidden
#nullable disable
);
__builder.AddContent(30, ": ");
#nullable restore
#line (29,28)-(29,37) 25 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
__builder.AddContent(31, kvp.Value
#line default
#line hidden
#nullable disable
);
__builder.CloseElement();
#nullable restore
#line (30,1)-(31,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
}
#line default
#line hidden
#nullable disable
__builder.CloseElement();
__builder.CloseElement();
#nullable restore
#line (35,2)-(37,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
foreach (var person in Person.Subordinates)
{
#line default
#line hidden
#nullable disable
__builder.OpenElement(32, "ul");
__builder.OpenElement(33, "li");
__builder.OpenComponent<global::Wasm.Performance.TestApp.Pages.PersonDisplay>(34);
__builder.AddComponentParameter(35, nameof(global::Wasm.Performance.TestApp.Pages.PersonDisplay.
#nullable restore
#line (39,28)-(39,34) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
Person
#line default
#line hidden
#nullable disable
), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Wasm.Performance.TestApp.Person>(
#nullable restore
#line (39,36)-(39,42) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
person
#line default
#line hidden
#nullable disable
));
__builder.CloseComponent();
__builder.CloseElement();
__builder.CloseElement();
#nullable restore
#line (42,1)-(43,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
}
#line default
#line hidden
#nullable disable
}
#pragma warning restore 1998
#nullable restore
#line (45,2)-(52,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
[Parameter] public Person Person { get; set; }
protected override void OnAfterRender(bool firstRender)
{
BenchmarkEvent.Send(JSRuntime, "Finished PersonDisplay rendering");
}
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Components.InjectAttribute] private
#nullable restore
#line (1,9)-(1,19) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
IJSRuntime
#line default
#line hidden
#nullable disable
#nullable restore
#line (1,20)-(1,29) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
JSRuntime
#line default
#line hidden
#nullable disable
{ get; set; }
= default!;
}
}
namespace __Blazor.Wasm.Performance.TestApp.Pages.PersonDisplay
{
#line hidden
internal static class TypeInference
{
public static void CreateInputNumber_0<[global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(unchecked((global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)0xffffffff))] TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, TValue __arg0, int __seq1, global::Microsoft.AspNetCore.Components.EventCallback<TValue> __arg1, int __seq2, global::System.Linq.Expressions.Expression<global::System.Func<TValue>> __arg2)
{
__builder.OpenComponent<global::Microsoft.AspNetCore.Components.Forms.InputNumber<TValue>>(seq);
__builder.AddComponentParameter(__seq0, nameof(global::Microsoft.AspNetCore.Components.Forms.InputNumber<TValue>.
#nullable restore
#line (17,32)-(17,37) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Pages\PersonDisplay.razor"
Value
#line default
#line hidden
#nullable disable
), __arg0);
__builder.AddComponentParameter(__seq1, nameof(global::Microsoft.AspNetCore.Components.Forms.InputNumber<TValue>.ValueChanged), __arg1);
__builder.AddComponentParameter(__seq2, nameof(global::Microsoft.AspNetCore.Components.Forms.InputNumber<TValue>.ValueExpression), __arg2);
__builder.CloseComponent();
}
}
}
#pragma warning restore 1591
|