47 instantiations of SelectViewModel
Aspire.Dashboard (41)
Components\Dialogs\FilterDialog.razor.cs (5)
18new SelectViewModel<FilterCondition> { Id = condition, Name = FieldTelemetryFilter.ConditionToString(condition, FilterLoc) }; 54var knownFields = Content.KnownKeys.Select(p => new SelectViewModel<string> { Id = p, Name = FieldTelemetryFilter.ResolveFieldName(p) }).ToList(); 55var customFields = Content.PropertyKeys.Select(p => new SelectViewModel<string> { Id = p, Name = FieldTelemetryFilter.ResolveFieldName(p) }).ToList(); 62new SelectViewModel<string> { Id = null, Name = "-" }, 97.Select(v => new SelectViewModel<FieldValue> { Id = v, Name = v.Value })
Components\Dialogs\TextVisualizerDialog.razor.cs (3)
53new SelectViewModel<string> { Id = DashboardUIHelpers.PlaintextFormat, Name = Loc[nameof(Resources.Dialogs.TextVisualizerDialogPlaintextFormat)] }, 54new SelectViewModel<string> { Id = DashboardUIHelpers.JsonFormat, Name = Loc[nameof(Resources.Dialogs.TextVisualizerDialogJsonFormat)] }, 55new SelectViewModel<string> { Id = DashboardUIHelpers.XmlFormat, Name = Loc[nameof(Resources.Dialogs.TextVisualizerDialogXmlFormat)] }
Components\Pages\ConsoleLogs.razor.cs (3)
185_allResource = new() { Id = null, Name = ControlsStringsLoc[nameof(ControlsStrings.LabelAll)] }; 675builder.Add(new SelectViewModel<ResourceTypeDetails> 713return new SelectViewModel<ResourceTypeDetails>
Components\Pages\Metrics.razor.cs (9)
86new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastOneMinute)], Id = TimeSpan.FromMinutes(1) }, 87new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastFiveMinutes)], Id = TimeSpan.FromMinutes(5) }, 88new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastFifteenMinutes)], Id = TimeSpan.FromMinutes(15) }, 89new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastThirtyMinutes)], Id = TimeSpan.FromMinutes(30) }, 90new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastHour)], Id = TimeSpan.FromHours(1) }, 91new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastThreeHours)], Id = TimeSpan.FromHours(3) }, 92new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastSixHours)], Id = TimeSpan.FromHours(6) }, 93new() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastTwelveHours)], Id = TimeSpan.FromHours(12) }, 96_selectResource = new SelectViewModel<ResourceTypeDetails>
Components\Pages\StructuredLogs.razor.cs (8)
199_allResource = new() 207new SelectViewModel<LogLevel?> { Id = null, Name = ControlsStringsLoc[nameof(Dashboard.Resources.ControlsStrings.LabelAll)] }, 208new SelectViewModel<LogLevel?> { Id = LogLevel.Trace, Name = "Trace" }, 209new SelectViewModel<LogLevel?> { Id = LogLevel.Debug, Name = "Debug" }, 210new SelectViewModel<LogLevel?> { Id = LogLevel.Information, Name = "Information" }, 211new SelectViewModel<LogLevel?> { Id = LogLevel.Warning, Name = "Warning" }, 212new SelectViewModel<LogLevel?> { Id = LogLevel.Error, Name = "Error" }, 213new SelectViewModel<LogLevel?> { Id = LogLevel.Critical, Name = "Critical" },
Components\Pages\Traces.razor.cs (1)
182_allResource = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = ControlsStringsLoc[name: nameof(ControlsStrings.LabelAll)] };
Model\Interaction\InputViewModel.cs (1)
25.Select(option => new SelectViewModel<string> { Id = option.Key, Name = option.Value, })
Model\Otlp\ResourcesSelectHelpers.cs (3)
93selectViewModels.Add(new SelectViewModel<ResourceTypeDetails> 103selectViewModels.Add(new SelectViewModel<ResourceTypeDetails> 111new SelectViewModel<ResourceTypeDetails>
Model\SpanType.cs (8)
68new() { Id = null, Name = loc[nameof(ControlsStrings.LabelAll)] }, 69new() { Id = Http, Name = loc[nameof(ControlsStrings.SpanTypeHttp)] }, 70new() { Id = Database, Name = loc[nameof(ControlsStrings.SpanTypeDatabase)] }, 71new() { Id = Messaging, Name = loc[nameof(ControlsStrings.SpanTypeMessaging)] }, 72new() { Id = Rpc, Name = loc[nameof(ControlsStrings.SpanTypeRpc)] }, 73new() { Id = GenAI, Name = loc[nameof(ControlsStrings.SpanTypeGenAI)] }, 74new() { Id = Cloud, Name = loc[nameof(ControlsStrings.SpanTypeCloud)] }, 75new() { Id = Other, Name = loc[nameof(ControlsStrings.LabelOther)] },
Aspire.Dashboard.Tests (6)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (4)
28var allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText }; 71var allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText }; 152var allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText }; 185var allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText };
Model\ApplicationsSelectHelpersTests.cs (2)
177new SelectViewModel<ResourceTypeDetails>() { Name = "test", Id = ResourceTypeDetails.CreateSingleton("test-abc", "test") }, 178new SelectViewModel<ResourceTypeDetails>() { Name = "test", Id = ResourceTypeDetails.CreateSingleton("test-def", "test") }
305 references to SelectViewModel
Aspire.Dashboard (285)
Components\Controls\ClearSignalsButton.razor.cs (1)
25public required SelectViewModel<ResourceTypeDetails> SelectedResource { get; set; }
Components\Controls\LogLevelSelect.razor.cs (3)
12public required List<SelectViewModel<LogLevel?>> LogLevels { get; set; } 15public required SelectViewModel<LogLevel?> LogLevel { get; set; } 18public EventCallback<SelectViewModel<LogLevel?>> LogLevelChanged { get; set; }
Components\Controls\ResourceSelect.razor.cs (3)
21public IEnumerable<SelectViewModel<ResourceTypeDetails>>? Resources { get; set; } 24public SelectViewModel<ResourceTypeDetails>? SelectedResource { get; set; } 27public EventCallback<SelectViewModel<ResourceTypeDetails>> SelectedResourceChanged { get; set; }
Components\Controls\SignalsActionsDisplay.razor.cs (1)
29public required SelectViewModel<ResourceTypeDetails> SelectedResource { get; set; }
Components\Controls\SpanTypeSelect.razor.cs (3)
14public required List<SelectViewModel<SpanType>> SpanTypes { get; set; } 17public required SelectViewModel<SpanType> SpanType { get; set; } 20public EventCallback<SelectViewModel<SpanType>> SpanTypeChanged { get; set; }
Components\Dialogs\FilterDialog.razor.cs (6)
15private List<SelectViewModel<FilterCondition>> _filterConditions = null!; 17private SelectViewModel<FilterCondition> CreateFilterSelectViewModel(FilterCondition condition) => 30private List<SelectViewModel<string>> _parameters = default!; 31private List<SelectViewModel<FieldValue>> _filteredValues = default!; 32private List<SelectViewModel<FieldValue>>? _allValues; 126IEnumerable<SelectViewModel<FieldValue>> newValues = _allValues;
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
18private List<SelectViewModel<string>> _options = null!;
Components\Pages\ConsoleLogs.razor.cs (10)
149private ImmutableList<SelectViewModel<ResourceTypeDetails>>? _resources; 161private SelectViewModel<ResourceTypeDetails> _allResource = null!; 347private SelectViewModel<ResourceTypeDetails> GetSelectedOption() 655internal static ImmutableList<SelectViewModel<ResourceTypeDetails>> GetConsoleLogResourceSelectViewModels( 657SelectViewModel<ResourceTypeDetails> allResourceViewModel, 660out SelectViewModel<ResourceTypeDetails>? optionToSelect) 662var builder = ImmutableList.CreateBuilder<SelectViewModel<ResourceTypeDetails>>(); 707SelectViewModel<ResourceTypeDetails> ToOption(ResourceViewModel resource, bool isReplica, string resourceName) 740_resources = GetConsoleLogResourceSelectViewModels(_resourceByName, _allResource, Loc[nameof(Dashboard.Resources.ConsoleLogs.ConsoleLogsUnknownState)], _showHiddenResources, out var optionToSelect); 1030public required SelectViewModel<ResourceTypeDetails> SelectedResource { get; set; }
Components\Pages\Metrics.razor.cs (7)
21private SelectViewModel<ResourceTypeDetails> _selectResource = null!; 22private List<SelectViewModel<TimeSpan>> _durations = null!; 29private List<SelectViewModel<ResourceTypeDetails>> _resourceViewModels = default!; 84_durations = new List<SelectViewModel<TimeSpan>> 169SelectViewModel<ResourceTypeDetails>? TryGetSingleResource() 260public required SelectViewModel<ResourceTypeDetails> SelectedResource { get; set; } 261public SelectViewModel<TimeSpan> SelectedDuration { get; set; } = null!;
Components\Pages\StructuredLogs.razor.cs (6)
36private SelectViewModel<ResourceTypeDetails> _allResource = default!; 42private List<SelectViewModel<ResourceTypeDetails>> _resourceViewModels = default!; 43private List<SelectViewModel<LogLevel?>> _logLevels = default!; 205_logLevels = new List<SelectViewModel<LogLevel?>> 603public required SelectViewModel<ResourceTypeDetails> SelectedResource { get; set; } 604public SelectViewModel<LogLevel?> SelectedLogLevel { get; set; } = default!;
Components\Pages\TraceDetail.razor.cs (2)
50private List<SelectViewModel<SpanType>> _spanTypes = default!; 51private SelectViewModel<SpanType> _selectedSpanType = default!;
Components\Pages\Traces.razor.cs (5)
34private SelectViewModel<ResourceTypeDetails> _allResource = null!; 39private List<SelectViewModel<SpanType>> _spanTypes = default!; 41private List<SelectViewModel<ResourceTypeDetails>> _resourceViewModels = default!; 454public required SelectViewModel<ResourceTypeDetails> SelectedResource { get; set; } 455public required SelectViewModel<SpanType> SelectedSpanType { get; set; }
Components_Controls_LogLevelSelect_razor.g.cs (37)
260SelectViewModel<LogLevel?> 266__builder.AddComponentParameter(7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 283__builder.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 291), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<LogLevel?>>>( 300__builder.AddComponentParameter(9, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 317__builder.AddComponentParameter(10, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 325), (global::System.Func<SelectViewModel<LogLevel?>, global::System.String>)( 334__builder.AddComponentParameter(11, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 343__builder.AddComponentParameter(12, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 352__builder.AddComponentParameter(13, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 378__builder.AddComponentParameter(15, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 386), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<SelectViewModel<LogLevel?>>( 395__builder.AddComponentParameter(16, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>.SelectedOptionChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<SelectViewModel<LogLevel?>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<SelectViewModel<LogLevel?>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { LogLevel = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 404__builder.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>.SelectedOptionExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<SelectViewModel<LogLevel?>>>>(() => LogLevel)); 405_ = nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 429SelectViewModel<LogLevel?> 435__builder.AddComponentParameter(20, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 452__builder.AddComponentParameter(21, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 460), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<LogLevel?>>>( 469__builder.AddComponentParameter(22, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 486__builder.AddComponentParameter(23, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 494), (global::System.Func<SelectViewModel<LogLevel?>, global::System.String>)( 503__builder.AddComponentParameter(24, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 520__builder.AddComponentParameter(25, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 529__builder.AddComponentParameter(26, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 538__builder.AddComponentParameter(27, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 564__builder.AddComponentParameter(29, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>. 572), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<SelectViewModel<LogLevel?>>( 581__builder.AddComponentParameter(30, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>.SelectedOptionChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<SelectViewModel<LogLevel?>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<SelectViewModel<LogLevel?>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { LogLevel = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 590__builder.AddComponentParameter(31, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>.SelectedOptionExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<SelectViewModel<LogLevel?>>>>(() => LogLevel)); 591_ = nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<LogLevel?>>.
Components_Controls_ResourceSelect_razor.g.cs (2)
303, 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: 322), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>(
Components_Controls_ResourceSelectOptionTemplate_razor.g.cs (1)
404public required SelectViewModel<ResourceTypeDetails> ViewModel { get; set; }
Components_Controls_SignalsActionsDisplay_razor.g.cs (2)
222), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>( 345), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>(
Components_Controls_SpanTypeSelect_razor.g.cs (37)
260SelectViewModel<SpanType> 266__builder.AddComponentParameter(7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 283__builder.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 291), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<SpanType>>>( 300__builder.AddComponentParameter(9, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 317__builder.AddComponentParameter(10, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 325), (global::System.Func<SelectViewModel<SpanType>, global::System.String>)( 334__builder.AddComponentParameter(11, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 343__builder.AddComponentParameter(12, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 352__builder.AddComponentParameter(13, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 378__builder.AddComponentParameter(15, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 386), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<SelectViewModel<SpanType>>( 395__builder.AddComponentParameter(16, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>.SelectedOptionChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<SelectViewModel<SpanType>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<SelectViewModel<SpanType>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { SpanType = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 404__builder.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>.SelectedOptionExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<SelectViewModel<SpanType>>>>(() => SpanType)); 405_ = nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 429SelectViewModel<SpanType> 435__builder.AddComponentParameter(20, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 452__builder.AddComponentParameter(21, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 460), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<SpanType>>>( 469__builder.AddComponentParameter(22, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 486__builder.AddComponentParameter(23, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 494), (global::System.Func<SelectViewModel<SpanType>, global::System.String>)( 503__builder.AddComponentParameter(24, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 520__builder.AddComponentParameter(25, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 529__builder.AddComponentParameter(26, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 538__builder.AddComponentParameter(27, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 564__builder.AddComponentParameter(29, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>. 572), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<SelectViewModel<SpanType>>( 581__builder.AddComponentParameter(30, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>.SelectedOptionChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<SelectViewModel<SpanType>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<SelectViewModel<SpanType>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { SpanType = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 590__builder.AddComponentParameter(31, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>.SelectedOptionExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<SelectViewModel<SpanType>>>>(() => SpanType)); 591_ = nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<SpanType>>.
Components_Dialogs_FilterDialog_razor.g.cs (51)
262SelectViewModel<string> 268__builder3.AddComponentParameter(14, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 285__builder3.AddComponentParameter(15, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 302__builder3.AddComponentParameter(16, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 310), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<string>>>( 319__builder3.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 328__builder3.AddComponentParameter(18, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 337__builder3.AddComponentParameter(19, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 345), (global::System.Func<SelectViewModel<string>, global::System.String>)( 354__builder3.AddComponentParameter(20, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 362), (global::System.Func<SelectViewModel<string>, global::System.Boolean>)( 371__builder3.AddComponentParameter(21, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 379), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<SelectViewModel<string>>( 388__builder3.AddComponentParameter(22, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>.SelectedOptionChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<SelectViewModel<string>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<SelectViewModel<string>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { _formModel.Parameter = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 397__builder3.AddComponentParameter(23, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>.SelectedOptionExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<SelectViewModel<string>>>>(() => _formModel.Parameter)); 398_ = nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 407__builder3.AddAttribute(24, "OptionTemplate", (global::Microsoft.AspNetCore.Components.RenderFragment<SelectViewModel<string>>)((optionContext) => (__builder4) => { 439SelectViewModel<FilterCondition> 445__builder3.AddComponentParameter(34, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<FilterCondition>>. 453), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<FilterCondition>>>( 462__builder3.AddComponentParameter(35, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<FilterCondition>>. 479__builder3.AddComponentParameter(36, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<FilterCondition>>. 487), (global::System.Func<SelectViewModel<FilterCondition>, global::System.String>)( 496__builder3.AddComponentParameter(37, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<FilterCondition>>. 505__builder3.AddComponentParameter(38, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<FilterCondition>>. 513), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<SelectViewModel<FilterCondition>>( 522__builder3.AddComponentParameter(39, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<FilterCondition>>.SelectedOptionChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<SelectViewModel<FilterCondition>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<SelectViewModel<FilterCondition>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => _formModel.Condition = __value, _formModel.Condition)))); 523__builder3.AddComponentParameter(40, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<FilterCondition>>.SelectedOptionExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<SelectViewModel<FilterCondition>>>>(() => _formModel.Condition)); 533SelectViewModel<FieldValue> 539__builder3.AddComponentParameter(46, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 547), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<FieldValue>>>( 556__builder3.AddComponentParameter(47, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 565__builder3.AddComponentParameter(48, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 574__builder3.AddComponentParameter(49, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 582), (global::System.Func<SelectViewModel<FieldValue>, global::System.String>)( 591__builder3.AddComponentParameter(50, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 599), (global::System.Func<SelectViewModel<FieldValue>, global::System.String>)( 608__builder3.AddComponentParameter(51, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 625__builder3.AddComponentParameter(52, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 642__builder3.AddComponentParameter(53, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 659__builder3.AddComponentParameter(54, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 676__builder3.AddComponentParameter(55, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::System.String>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::System.String>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { _formModel.Value = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 685__builder3.AddComponentParameter(56, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<global::System.String>>>(() => _formModel.Value)); 686_ = nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<FieldValue>>. 695__builder3.AddAttribute(57, "OptionTemplate", (global::Microsoft.AspNetCore.Components.RenderFragment<SelectViewModel<FieldValue>>)((optionContext) => (__builder4) => {
Components_Dialogs_InteractionsInputDialog_razor.g.cs (36)
851SelectViewModel<string> 857__builder4.AddComponentParameter(60, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 874__builder4.AddComponentParameter(61, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 891__builder4.AddComponentParameter(62, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 908__builder4.AddComponentParameter(63, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 925__builder4.AddComponentParameter(64, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 933), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<string>>>( 942__builder4.AddComponentParameter(65, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 950), (global::System.Func<SelectViewModel<string>, global::System.String>)( 959__builder4.AddComponentParameter(66, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 967), (global::System.Func<SelectViewModel<string>, global::System.String>)( 976__builder4.AddComponentParameter(67, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 985__builder4.AddComponentParameter(68, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 1011__builder4.AddComponentParameter(70, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>. 1028__builder4.AddComponentParameter(71, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::System.String>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::System.String>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => localItem.Value = __value, localItem.Value)))); 1029__builder4.AddComponentParameter(72, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<global::System.String>>>(() => localItem.Value)); 1030__builder4.AddAttribute(73, "OptionTemplate", (global::Microsoft.AspNetCore.Components.RenderFragment<SelectViewModel<string>>)((optionContext) => (__builder5) => { 1061= (global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<string>>)__value; 1078SelectViewModel<string> 1084__builder4.AddComponentParameter(80, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1101__builder4.AddComponentParameter(81, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1118__builder4.AddComponentParameter(82, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1135__builder4.AddComponentParameter(83, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1152__builder4.AddComponentParameter(84, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1160), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<string>>>( 1169__builder4.AddComponentParameter(85, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1177), (global::System.Func<SelectViewModel<string>, global::System.String>)( 1186__builder4.AddComponentParameter(86, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1194), (global::System.Func<SelectViewModel<string>, global::System.String>)( 1203__builder4.AddComponentParameter(87, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1212__builder4.AddComponentParameter(88, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1238__builder4.AddComponentParameter(90, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>. 1255__builder4.AddComponentParameter(91, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::System.String>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::System.String>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => localItem.Value = __value, localItem.Value)))); 1256__builder4.AddComponentParameter(92, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<global::System.String>>>(() => localItem.Value)); 1257__builder4.AddAttribute(93, "OptionTemplate", (global::Microsoft.AspNetCore.Components.RenderFragment<SelectViewModel<string>>)((optionContext) => (__builder5) => { 1288= (global::Microsoft.FluentUI.AspNetCore.Components.FluentCombobox<SelectViewModel<string>>)__value;
Components_Dialogs_TextVisualizerDialog_razor.g.cs (1)
357foreach (var option in _options)
Components_Pages_ConsoleLogs_razor.g.cs (5)
323), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>>( 366), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>( 375__builder2.AddComponentParameter(23, nameof(global::Aspire.Dashboard.Components.Controls.ResourceSelect.SelectedResourceChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.ResourceTypeDetails>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.ResourceTypeDetails>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { PageViewModel.SelectedResource = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 455), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>(
Components_Pages_Metrics_razor.g.cs (20)
384), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>>( 444), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>( 453__builder2.AddComponentParameter(26, nameof(global::Aspire.Dashboard.Components.Controls.ResourceSelect.SelectedResourceChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.ResourceTypeDetails>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.ResourceTypeDetails>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { PageViewModel.SelectedResource = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 533), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>( 605SelectViewModel<TimeSpan> 612__builder2.AddComponentParameter(44, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<TimeSpan>>. 629__builder2.AddComponentParameter(45, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<TimeSpan>>. 637), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<SelectViewModel<TimeSpan>>>( 646__builder2.AddComponentParameter(46, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<TimeSpan>>. 654), (global::System.Func<SelectViewModel<TimeSpan>, global::System.String>)( 663__builder2.AddComponentParameter(47, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<TimeSpan>>. 680__builder2.AddComponentParameter(48, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<TimeSpan>>. 688), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<SelectViewModel<TimeSpan>>( 697__builder2.AddComponentParameter(49, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<TimeSpan>>.SelectedOptionChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<SelectViewModel<TimeSpan>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<SelectViewModel<TimeSpan>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { PageViewModel.SelectedDuration = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 706__builder2.AddComponentParameter(50, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<TimeSpan>>.SelectedOptionExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Linq.Expressions.Expression<global::System.Func<SelectViewModel<TimeSpan>>>>(() => PageViewModel.SelectedDuration)); 707_ = nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect<SelectViewModel<TimeSpan>>.
Components_Pages_StructuredLogs_razor.g.cs (9)
341), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>>( 401), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>( 410__builder2.AddComponentParameter(25, nameof(global::Aspire.Dashboard.Components.Controls.ResourceSelect.SelectedResourceChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.ResourceTypeDetails>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.ResourceTypeDetails>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { PageViewModel.SelectedResource = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 490), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>( 662), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.List<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Microsoft.Extensions.Logging.LogLevel?>>>( 696), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Microsoft.Extensions.Logging.LogLevel?>>( 705__builder2.AddComponentParameter(55, nameof(global::Aspire.Dashboard.Components.Controls.LogLevelSelect.LogLevelChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Microsoft.Extensions.Logging.LogLevel?>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Microsoft.Extensions.Logging.LogLevel?>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => PageViewModel.SelectedLogLevel = __value, PageViewModel.SelectedLogLevel))));
Components_Pages_TraceDetail_razor.g.cs (8)
645), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.List<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.SpanType>>>( 679), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.SpanType>>( 688__builder2.AddComponentParameter(66, nameof(global::Aspire.Dashboard.Components.Controls.SpanTypeSelect.SpanTypeChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.SpanType>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.SpanType>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => _selectedSpanType = __value, _selectedSpanType)))); 884), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.List<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.SpanType>>>( 918), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.SpanType>>( 927__builder2.AddComponentParameter(88, nameof(global::Aspire.Dashboard.Components.Controls.SpanTypeSelect.SpanTypeChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.SpanType>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.SpanType>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => _selectedSpanType = __value, _selectedSpanType))));
Components_Pages_Traces_razor.g.cs (9)
324), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>>( 384), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>( 393__builder2.AddComponentParameter(24, nameof(global::Aspire.Dashboard.Components.Controls.ResourceSelect.SelectedResourceChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.ResourceTypeDetails>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.ResourceTypeDetails>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { PageViewModel.SelectedResource = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: 473), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.ResourceTypeDetails>>( 645), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.List<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.SpanType>>>( 679), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<global::Aspire.Dashboard.Model.SpanType>>( 688__builder2.AddComponentParameter(54, nameof(global::Aspire.Dashboard.Components.Controls.SpanTypeSelect.SpanTypeChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Microsoft.AspNetCore.Components.EventCallback<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.SpanType>>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create<global::Aspire.Dashboard.Model.Otlp.SelectViewModel<Aspire.Dashboard.Model.SpanType>>(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => PageViewModel.SelectedSpanType = __value, PageViewModel.SelectedSpanType))));
Model\Interaction\InputViewModel.cs (1)
33public List<SelectViewModel<string>> SelectOptions { get; } = [];
Model\Otlp\FilterDialogFormModel.cs (2)
12public SelectViewModel<string>? Parameter { get; set; } 15public SelectViewModel<FilterCondition>? Condition { get; set; }
Model\Otlp\ResourcesSelectHelpers.cs (11)
10public static SelectViewModel<ResourceTypeDetails> GetResource(this ICollection<SelectViewModel<ResourceTypeDetails>> resources, ILogger logger, string? name, bool canSelectGrouping, SelectViewModel<ResourceTypeDetails> fallbackViewModel) 49static SelectViewModel<ResourceTypeDetails> SingleMatch(ICollection<SelectViewModel<ResourceTypeDetails>> resources, ILogger logger, string name, SelectViewModel<ResourceTypeDetails> match, bool fallback = false) 64static SelectViewModel<ResourceTypeDetails> MultipleMatches(ICollection<SelectViewModel<ResourceTypeDetails>> resources, ILogger logger, string name, List<SelectViewModel<ResourceTypeDetails>> matches) 81public static List<SelectViewModel<ResourceTypeDetails>> CreateResources(List<OtlpResource> resources) 85var selectViewModels = new List<SelectViewModel<ResourceTypeDetails>>();
Model\Otlp\SelectViewModel.cs (3)
9public class SelectViewModel<T> : IEquatable<SelectViewModel<T>> 14public bool Equals(SelectViewModel<T>? other) 34if (obj is SelectViewModel<T> other)
Model\SpanType.cs (2)
64public static List<SelectViewModel<SpanType>> CreateKnownSpanTypes(IStringLocalizer<ControlsStrings> loc) 66return new List<SelectViewModel<SpanType>>
Aspire.Dashboard.Tests (20)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (8)
28var allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText }; 31var viewModels = Components.Pages.ConsoleLogs.GetConsoleLogResourceSelectViewModels(resourcesByName, allResourceViewModel, unknownStateText, false, out var optionToSelect); 71var allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText }; 74var viewModels = Components.Pages.ConsoleLogs.GetConsoleLogResourceSelectViewModels(resourcesByName, allResourceViewModel, unknownStateText, false, out var optionToSelect); 152var allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText }; 160out var optionToSelect); 185var allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText }; 193out var optionToSelect);
Model\ApplicationsSelectHelpersTests.cs (10)
57var app = appVMs.GetResource(NullLogger.Instance, "multiple-instanceabc", canSelectGrouping: false, null!); 74var app = appVMs.GetResource(NullLogger.Instance, "singleton", canSelectGrouping: false, null!); 91var app = appVMs.GetResource(NullLogger.Instance, "singleton-", canSelectGrouping: false, null!); 112var app = appVMs.GetResource(NullLogger.Instance, name, canSelectGrouping: false, null!); 153var app1 = appVMs.GetResource(logger, "name-instance", canSelectGrouping: false, null!); 161var app2 = appVMs.GetResource(logger, "name-instanceabc", canSelectGrouping: false, null!); 175var appVMs = new List<SelectViewModel<ResourceTypeDetails>> 185var app = appVMs.GetResource(factory.CreateLogger("Test"), "test", canSelectGrouping: false, null!); 224var app = appVMs.GetResource(NullLogger.Instance, "app", canSelectGrouping: false, null!); 261var app = appVMs.GetResource(NullLogger.Instance, "app", canSelectGrouping: true, null!);
Model\SpanWaterfallViewModelTests.cs (2)
182var spanType = SpanType.CreateKnownSpanTypes(new TestStringLocalizer<ControlsStrings>()).Single(t => t.Id?.Name == spanTypeName); 183var otherSpanType = SpanType.CreateKnownSpanTypes(new TestStringLocalizer<ControlsStrings>()).Single(t => t.Id?.Name == "other");