File: Shared_FastGrid_Grid_razor.g.cs
Project: src\src\Components\benchmarkapps\Wasm.Performance\TestApp\Wasm.Performance.TestApp.csproj (Wasm.Performance.TestApp)
#pragma checksum "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5be3cd102c06851a53e3c9611350d5c0300fd9f62beaa6e1dd1c5d7735f753ac"
// <auto-generated/>
#pragma warning disable 1591
namespace Wasm.Performance.TestApp.Shared.FastGrid
{
    #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
    #nullable restore
    public partial class Grid<
#nullable restore
#line (1,12)-(1,20) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
TRowData
 
#line default
#line hidden
#nullable disable
    > : global::Microsoft.AspNetCore.Components.ComponentBase
    #nullable disable
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            global::__Blazor.Wasm.Performance.TestApp.Shared.FastGrid.Grid.TypeInference.CreateCascadingValue_0(__builder, 0, 1, 
#nullable restore
#line (3,26)-(3,30) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
true
 
#line default
#line hidden
#nullable disable
            , 2, 
#nullable restore
#line (3,39)-(3,43) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
this
 
#line default
#line hidden
#nullable disable
            , 3, (__builder2) => {
#nullable restore
#line (3,46)-(3,58) 25 "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
__builder2.AddContent(4, ChildContent
 
#line default
#line hidden
#nullable disable
                );
            }
            );
            __builder.AddMarkupContent(5, "\r\n\r\n");
            __builder.OpenElement(6, "table");
            __builder.AddMultipleAttributes(7, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<global::System.Collections.Generic.KeyValuePair<string, object>>>(
#nullable restore
#line (5,22)-(5,32) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
Attributes
 
#line default
#line hidden
#nullable disable
            ));
            __builder.OpenElement(8, "thead");
            __builder.OpenElement(9, "tr");
#nullable restore
#line (8,1)-(8,13) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
            
 
#line default
#line hidden
#nullable disable
 
#nullable restore
#line (8,14)-(12,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
foreach (var col in columns)
            {
                col.RenderHeader(__builder);
            }
 
#line default
#line hidden
#nullable disable
 
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n    ");
            __builder.OpenElement(11, "tbody");
#nullable restore
#line (15,1)-(15,9) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
        
 
#line default
#line hidden
#nullable disable
 
#nullable restore
#line (15,10)-(17,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
foreach (var item in Data)
        {
 
#line default
#line hidden
#nullable disable
 
            __builder.OpenElement(12, "tr");
            __builder.AddAttribute(13, "class", 
#nullable restore
#line (17,52)-(17,74) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
RowClass?.Invoke(item)
 
#line default
#line hidden
#nullable disable
            );
            __builder.SetKey(
#nullable restore
#line (17,23)-(17,41) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
item.GetHashCode()
 
#line default
#line hidden
#nullable disable
 
            );
#nullable restore
#line (18,1)-(18,17) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
                
 
#line default
#line hidden
#nullable disable
 
#nullable restore
#line (18,18)-(22,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
foreach (var col in columns)
                {
                    col.RenderCell(__builder, item);
                }
 
#line default
#line hidden
#nullable disable
 
            __builder.CloseElement();
#nullable restore
#line (23,1)-(24,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
        }
 
#line default
#line hidden
#nullable disable
 
            __builder.CloseElement();
            __builder.CloseElement();
        }
        #pragma warning restore 1998
#nullable restore
#line (27,8)-(48,1) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
 
    [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> Attributes { get; set; }
    [Parameter] public ICollection<TRowData> Data { get; set; }
    [Parameter] public RenderFragment ChildContent { get; set; }
    [Parameter] public Func<TRowData, string> RowClass { get; set; }
 
    private List<GridColumn<TRowData>> columns = new List<GridColumn<TRowData>>();
 
    internal void AddColumn(GridColumn<TRowData> column)
    {
        columns.Add(column);
    }
 
    protected override void OnAfterRender(bool firstRender)
    {
        if (firstRender)
        {
            // On the first render, we collect the list of columns, then we have to render them.
            StateHasChanged();
        }
    }
 
#line default
#line hidden
#nullable disable
 
    }
}
namespace __Blazor.Wasm.Performance.TestApp.Shared.FastGrid.Grid
{
    #line hidden
    internal static class TypeInference
    {
        public static void CreateCascadingValue_0<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Boolean __arg0, int __seq1, TValue __arg1, int __seq2, global::Microsoft.AspNetCore.Components.RenderFragment __arg2)
        {
        __builder.OpenComponent<global::Microsoft.AspNetCore.Components.CascadingValue<TValue>>(seq);
        __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.AspNetCore.Components.CascadingValue<TValue>.
#nullable restore
#line (3,17)-(3,24) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
IsFixed
 
#line default
#line hidden
#nullable disable
        ), __arg0);
        __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.AspNetCore.Components.CascadingValue<TValue>.
#nullable restore
#line (3,32)-(3,37) "D:\a\_work\1\s\src\Components\benchmarkapps\Wasm.Performance\TestApp\Shared\FastGrid\Grid.razor"
Value
 
#line default
#line hidden
#nullable disable
        ), __arg1);
        __builder.AddComponentParameter(__seq2, "ChildContent", __arg2);
        __builder.CloseComponent();
        }
    }
}
#pragma warning restore 1591