File: Components_Controls_ResourceSelect_razor.g.cs
Project: src\src\Aspire.Dashboard\Aspire.Dashboard.csproj (Aspire.Dashboard)
#pragma checksum "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "30d8610b6f779b8fb0bf170ac6309b925a67a382f143ecc543ea9eec2cff3720"
// <auto-generated/>
#pragma warning disable 1591
namespace Aspire.Dashboard.Components.Controls
{
    #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\Aspire.Dashboard\Components\_Imports.razor"
using System.Net.Http
 
#nullable disable
    ;
#nullable restore
#line (2,2)-(2,28) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using System.Net.Http.Json
 
#nullable disable
    ;
#nullable restore
#line (3,2)-(3,39) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard.Authentication
 
#nullable disable
    ;
#nullable restore
#line (4,2)-(4,35) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard.Extensions
 
#nullable disable
    ;
#nullable restore
#line (5,2)-(5,42) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard.Components.Resize
 
#nullable disable
    ;
#nullable restore
#line (6,2)-(6,57) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.AspNetCore.Authentication.OpenIdConnect
 
#nullable disable
    ;
#nullable restore
#line (7,2)-(7,42) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.AspNetCore.Authorization
 
#nullable disable
    ;
#nullable restore
#line (8,2)-(8,53) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization
 
#nullable disable
    ;
#nullable restore
#line (9,2)-(9,45) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms
 
#nullable disable
    ;
#nullable restore
#line (10,2)-(10,47) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing
 
#nullable disable
    ;
#nullable restore
#line (11,2)-(11,43) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web
 
#nullable disable
    ;
#nullable restore
#line (12,2)-(12,58) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization
 
#nullable disable
    ;
#nullable restore
#line (13,2)-(13,48) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.FluentUI.AspNetCore.Components
 
#nullable disable
    ;
#nullable restore
#line (14,2)-(14,62) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons
 
#nullable disable
    ;
#nullable restore
#line (15,2)-(15,27) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.JSInterop
 
#nullable disable
    ;
#nullable restore
#line (16,2)-(16,24) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard
 
#nullable disable
    ;
#nullable restore
#line (17,2)-(17,35) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard.Components
 
#nullable disable
    ;
#nullable restore
#line (18,2)-(18,44) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard.Components.Controls
 
#nullable disable
    ;
#nullable restore
#line (19,2)-(19,42) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard.Components.Layout
 
#nullable disable
    ;
#nullable restore
#line (20,2)-(20,30) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard.Model
 
#nullable disable
    ;
#nullable restore
#line (21,2)-(21,38) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Aspire.Dashboard.ServiceClient
 
#nullable disable
    ;
#nullable restore
#line (22,2)-(22,41) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
using Microsoft.Extensions.Localization
 
#nullable disable
    ;
#nullable restore
#line (1,2)-(1,34) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
using Aspire.Dashboard.Resources
 
#nullable disable
    ;
    #line default
    #line hidden
#nullable restore
#line (25,12)-(25,74) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\_Imports.razor"
[Authorize(Policy = FrontendAuthorizationDefaults.PolicyName)]
 
#line default
#line hidden
#nullable disable
 
    #nullable restore
    public partial class ResourceSelect : global::Microsoft.AspNetCore.Components.ComponentBase
    #nullable disable
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent<global::Microsoft.FluentUI.AspNetCore.Components.FluentInputLabel>(0);
            __builder.AddComponentParameter(1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentInputLabel.
#nullable restore
#line (3,19)-(3,24) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Label
 
#line default
#line hidden
#nullable disable
            ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.String>(
#nullable restore
#line (3,27)-(3,69) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Loc[nameof(ControlsStrings.ResourceLabel)]
 
#line default
#line hidden
#nullable disable
            ));
            __builder.AddComponentParameter(2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentInputLabel.
#nullable restore
#line (4,19)-(4,24) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
ForId
 
#line default
#line hidden
#nullable disable
            ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.String>(
#nullable restore
#line (4,27)-(4,36) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
_selectId
 
#line default
#line hidden
#nullable disable
            ));
            __builder.AddComponentParameter(3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentInputLabel.
#nullable restore
#line (5,19)-(5,30) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Orientation
 
#line default
#line hidden
#nullable disable
            ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.FluentUI.AspNetCore.Components.Orientation>(
#nullable restore
#line (5,32)-(5,54) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Orientation.Horizontal
 
#line default
#line hidden
#nullable disable
            ));
            __builder.AddComponentParameter(4, "class", 
#nullable restore
#line (6,27)-(6,37) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
LabelClass
 
#line default
#line hidden
#nullable disable
            );
            __builder.CloseComponent();
            __builder.AddMarkupContent(5, "\r\n\r\n");
            {
                global::__Blazor.Aspire.Dashboard.Components.Controls.ResourceSelect.TypeInference.CreateFluentSelect_0_CaptureParameters(
#nullable restore
#line (8,22)-(8,31) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Resources
 
#line default
#line hidden
#nullable disable
                , out var __typeInferenceArg_0___arg0, 
#nullable restore
#line (9,27)-(9,44) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Resources is null
 
#line default
#line hidden
#nullable disable
                , out var __typeInferenceArg_0___arg1, 
#nullable restore
#line (11,20)-(11,29) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
_selectId
 
#line default
#line hidden
#nullable disable
                , out var __typeInferenceArg_0___arg2, 
#nullable restore
#line (12,30)-(12,42) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
c => c!.Name
 
#line default
#line hidden
#nullable disable
                , out var __typeInferenceArg_0___arg3, 
#nullable restore
#line (13,33)-(13,119) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
c => !CanSelectGrouping && c!.Id?.Type is Otlp.Model.OtlpResourceType.ResourceGrouping
 
#line default
#line hidden
#nullable disable
                , out var __typeInferenceArg_0___arg4, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::System.String>(this, 
#nullable restore
#line (16,29)-(16,42) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
ValuedChanged
 
#line default
#line hidden
#nullable disable
                ), out var __typeInferenceArg_0___arg5, 
#nullable restore
#line (17,27)-(17,36) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
AriaLabel
 
#line default
#line hidden
#nullable disable
                , out var __typeInferenceArg_0___arg6, "resource-list", out var __typeInferenceArg_0___arg7, 
#nullable restore
#line (19,24)-(19,40) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
GetPopupHeight()
 
#line default
#line hidden
#nullable disable
                , out var __typeInferenceArg_0___arg8, 
#nullable restore
#line (14,37)-(14,53) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
SelectedResource
 
#line default
#line hidden
#nullable disable
                , out var __typeInferenceArg_0___arg9, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { SelectedResource = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 
#nullable restore
#line (15,43)-(15,70) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
SelectedResourceChangedCore
 
#line default
#line hidden
#nullable disable
                ); }, value: SelectedResource), SelectedResource)), out var __typeInferenceArg_0___arg10, () => SelectedResource, out var __typeInferenceArg_0___arg11);
                global::__Blazor.Aspire.Dashboard.Components.Controls.ResourceSelect.TypeInference.CreateFluentSelect_0(__builder, 6, 7, __typeInferenceArg_0___arg0, 8, __typeInferenceArg_0___arg1, 9, __typeInferenceArg_0___arg2, 10, __typeInferenceArg_0___arg3, 11, __typeInferenceArg_0___arg4, 12, __typeInferenceArg_0___arg5, 13, __typeInferenceArg_0___arg6, 14, __typeInferenceArg_0___arg7, 15, __typeInferenceArg_0___arg8, 16, __typeInferenceArg_0___arg9, 17, __typeInferenceArg_0___arg10, 18, __typeInferenceArg_0___arg11, 19, (context) => (__builder2) => {
                    __builder2.OpenComponent<global::Aspire.Dashboard.Components.Controls.ResourceSelectOptionTemplate>(20);
                    __builder2.AddComponentParameter(21, nameof(global::Aspire.Dashboard.Components.Controls.ResourceSelectOptionTemplate.
#nullable restore
#line (21,39)-(21,48) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
ViewModel
 
#line default
#line hidden
#nullable disable
                    ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>(
#nullable restore
#line (21,51)-(21,58) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
context
 
#line default
#line hidden
#nullable disable
                    ));
                    __builder2.CloseComponent();
                }
                , 22, 
#nullable restore
#line (10,22)-(10,40) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Resources?.Count()
 
#line default
#line hidden
#nullable disable
 
                );
                __typeInferenceArg_0___arg0 = default;
                __typeInferenceArg_0___arg1 = default;
                __typeInferenceArg_0___arg2 = default;
                __typeInferenceArg_0___arg3 = default;
                __typeInferenceArg_0___arg4 = default;
                __typeInferenceArg_0___arg5 = default;
                __typeInferenceArg_0___arg6 = default;
                __typeInferenceArg_0___arg7 = default;
                __typeInferenceArg_0___arg8 = default;
                __typeInferenceArg_0___arg9 = default;
                __typeInferenceArg_0___arg10 = default;
                __typeInferenceArg_0___arg11 = default;
            }
        }
        #pragma warning restore 1998
    }
}
namespace __Blazor.Aspire.Dashboard.Components.Controls.ResourceSelect
{
    #line hidden
    internal static class TypeInference
    {
        public static void CreateFluentSelect_0<TOption>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Collections.Generic.IEnumerable<TOption> __arg0, int __seq1, global::System.Boolean __arg1, int __seq2, global::System.String __arg2, int __seq3, global::System.Func<TOption, global::System.String> __arg3, int __seq4, global::System.Func<TOption, global::System.Boolean> __arg4, int __seq5, global::Microsoft.AspNetCore.Components.EventCallback<global::System.String> __arg5, int __seq6, global::System.String __arg6, int __seq7, global::System.String __arg7, int __seq8, global::System.String __arg8, int __seq9, TOption __arg9, int __seq10, global::Microsoft.AspNetCore.Components.EventCallback<TOption> __arg10, int __seq11, global::System.Linq.Expressions.Expression<global::System.Func<TOption>> __arg11, int __seq12, global::Microsoft.AspNetCore.Components.RenderFragment<TOption> __arg12, int __seq13, object __arg13)
            where TOption : notnull
        {
        __builder.OpenComponent<global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>>(seq);
        __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (8,15)-(8,20) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Items
 
#line default
#line hidden
#nullable disable
        ), __arg0);
        __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (9,15)-(9,23) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Disabled
 
#line default
#line hidden
#nullable disable
        ), __arg1);
        __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (11,15)-(11,17) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Id
 
#line default
#line hidden
#nullable disable
        ), __arg2);
        __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (12,15)-(12,26) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
OptionValue
 
#line default
#line hidden
#nullable disable
        ), __arg3);
        __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (13,15)-(13,29) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
OptionDisabled
 
#line default
#line hidden
#nullable disable
        ), __arg4);
        __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (16,15)-(16,27) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
ValueChanged
 
#line default
#line hidden
#nullable disable
        ), __arg5);
        __builder.AddComponentParameter(__seq6, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (17,15)-(17,24) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
AriaLabel
 
#line default
#line hidden
#nullable disable
        ), __arg6);
        __builder.AddComponentParameter(__seq7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (18,15)-(18,20) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Class
 
#line default
#line hidden
#nullable disable
        ), __arg7);
        __builder.AddComponentParameter(__seq8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (19,15)-(19,21) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
Height
 
#line default
#line hidden
#nullable disable
        ), __arg8);
        __builder.AddComponentParameter(__seq9, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.
#nullable restore
#line (14,21)-(14,35) "D:\a\_work\1\s\src\Aspire.Dashboard\Components\Controls\ResourceSelect.razor"
SelectedOption
 
#line default
#line hidden
#nullable disable
        ), __arg9);
        __builder.AddComponentParameter(__seq10, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.SelectedOptionChanged), __arg10);
        __builder.AddComponentParameter(__seq11, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<TOption>.SelectedOptionExpression), __arg11);
        __builder.AddComponentParameter(__seq12, "OptionTemplate", __arg12);
        __builder.SetKey(__arg13);
        __builder.CloseComponent();
        }
 
        public static void CreateFluentSelect_0_CaptureParameters<TOption>(global::System.Collections.Generic.IEnumerable<TOption> __arg0, out global::System.Collections.Generic.IEnumerable<TOption> __arg0_out, global::System.Boolean __arg1, out global::System.Boolean __arg1_out, global::System.String __arg2, out global::System.String __arg2_out, global::System.Func<TOption, global::System.String> __arg3, out global::System.Func<TOption, global::System.String> __arg3_out, global::System.Func<TOption, global::System.Boolean> __arg4, out global::System.Func<TOption, global::System.Boolean> __arg4_out, global::Microsoft.AspNetCore.Components.EventCallback<global::System.String> __arg5, out global::Microsoft.AspNetCore.Components.EventCallback<global::System.String> __arg5_out, global::System.String __arg6, out global::System.String __arg6_out, global::System.String __arg7, out global::System.String __arg7_out, global::System.String __arg8, out global::System.String __arg8_out, TOption __arg9, out TOption __arg9_out, global::Microsoft.AspNetCore.Components.EventCallback<TOption> __arg10, out global::Microsoft.AspNetCore.Components.EventCallback<TOption> __arg10_out, global::System.Linq.Expressions.Expression<global::System.Func<TOption>> __arg11, out global::System.Linq.Expressions.Expression<global::System.Func<TOption>> __arg11_out)
            where TOption : notnull
        {
            __arg0_out = __arg0;
            __arg1_out = __arg1;
            __arg2_out = __arg2;
            __arg3_out = __arg3;
            __arg4_out = __arg4;
            __arg5_out = __arg5;
            __arg6_out = __arg6;
            __arg7_out = __arg7;
            __arg8_out = __arg8;
            __arg9_out = __arg9;
            __arg10_out = __arg10;
            __arg11_out = __arg11;
        }
    }
}
#pragma warning restore 1591