|
#pragma checksum "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "c4cbcb761b54a5506696b173235f65ee166733630d6e57c28dd592704e14da47"
// <auto-generated/>
#pragma warning disable 1591
namespace Wasm.Performance.TestApp.Shared.ComplexTable
{
#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
;
#nullable restore
#line (1,2)-(1,61) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
using WeatherForecast = Pages.GridRendering.WeatherForecast
#nullable disable
;
#line default
#line hidden
#nullable restore
public partial class Cell : 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, "td");
__builder.AddMultipleAttributes(1, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<global::System.Collections.Generic.KeyValuePair<string, object>>>(
#nullable restore
#line (3,19)-(3,29) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
Attributes
#line default
#line hidden
#nullable disable
));
__builder.AddAttribute(2, "onclick", global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#nullable restore
#line (4,17)-(4,48) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
() => OnClick.Invoke(CellIndex)
#line default
#line hidden
#nullable disable
));
#nullable restore
#line (6,1)-(6,5) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
#line default
#line hidden
#nullable disable
#nullable restore
#line (6,6)-(9,13) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
switch (Field)
{
case "Date":
#line default
#line hidden
#nullable disable
#nullable restore
#line (9,14)-(9,43) 24 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
__builder.AddContent(3, Item.Date.ToShortDateString()
#line default
#line hidden
#nullable disable
);
#nullable restore
#line (9,43)-(12,13) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
break;
case "TemperatureC":
#line default
#line hidden
#nullable disable
#nullable restore
#line (12,14)-(12,31) 24 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
__builder.AddContent(4, Item.TemperatureC
#line default
#line hidden
#nullable disable
);
#nullable restore
#line (12,31)-(15,13) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
break;
case "TemperatureF":
#line default
#line hidden
#nullable disable
#nullable restore
#line (15,14)-(15,31) 24 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
__builder.AddContent(5, Item.TemperatureF
#line default
#line hidden
#nullable disable
);
#nullable restore
#line (15,31)-(18,13) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
break;
case "Summary":
#line default
#line hidden
#nullable disable
#nullable restore
#line (18,14)-(18,26) 24 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
__builder.AddContent(6, Item.Summary
#line default
#line hidden
#nullable disable
);
#nullable restore
#line (18,26)-(21,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
break;
}
#line default
#line hidden
#nullable disable
__builder.CloseElement();
}
#pragma warning restore 1998
#nullable restore
#line (23,8)-(59,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\ComplexTable\Cell.razor"
[Parameter]
public WeatherForecast Item { get; set; }
[CascadingParameter]
public TableComponent ParentTable { get; set; }
[Parameter]
public string Field { get; set; }
[Parameter]
public int CellIndex { get; set; }
[Parameter]
public int RowIndex { get; set; }
[Parameter]
public bool Selected { get; set; }
[Parameter]
public string FormatString { get; set; }
[Parameter]
public Func<int, Task> OnClick { get; set; }
private protected Dictionary<string, object> Attributes
{
get
{
var attributes = new Dictionary<string, object>();
attributes["tabindex"] = CellIndex;
return attributes;
}
}
#line default
#line hidden
#nullable disable
}
}
#pragma warning restore 1591
|