47 instantiations of SelectViewModel
Aspire.Dashboard (41)
Components\Dialogs\FilterDialog.razor.cs (5)
18
new
SelectViewModel
<FilterCondition> { Id = condition, Name = FieldTelemetryFilter.ConditionToString(condition, FilterLoc) };
54
var knownFields = Content.KnownKeys.Select(p => new
SelectViewModel
<string> { Id = p, Name = FieldTelemetryFilter.ResolveFieldName(p) }).ToList();
55
var customFields = Content.PropertyKeys.Select(p => new
SelectViewModel
<string> { Id = p, Name = FieldTelemetryFilter.ResolveFieldName(p) }).ToList();
62
new
SelectViewModel
<string> { Id = null, Name = "-" },
97
.Select(v => new
SelectViewModel
<FieldValue> { Id = v, Name = v.Value })
Components\Dialogs\TextVisualizerDialog.razor.cs (3)
53
new
SelectViewModel
<string> { Id = DashboardUIHelpers.PlaintextFormat, Name = Loc[nameof(Resources.Dialogs.TextVisualizerDialogPlaintextFormat)] },
54
new
SelectViewModel
<string> { Id = DashboardUIHelpers.JsonFormat, Name = Loc[nameof(Resources.Dialogs.TextVisualizerDialogJsonFormat)] },
55
new
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)] };
675
builder.Add(new
SelectViewModel
<ResourceTypeDetails>
713
return new
SelectViewModel
<ResourceTypeDetails>
Components\Pages\Metrics.razor.cs (9)
86
new
() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastOneMinute)], Id = TimeSpan.FromMinutes(1) },
87
new
() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastFiveMinutes)], Id = TimeSpan.FromMinutes(5) },
88
new
() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastFifteenMinutes)], Id = TimeSpan.FromMinutes(15) },
89
new
() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastThirtyMinutes)], Id = TimeSpan.FromMinutes(30) },
90
new
() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastHour)], Id = TimeSpan.FromHours(1) },
91
new
() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastThreeHours)], Id = TimeSpan.FromHours(3) },
92
new
() { Name = Loc[nameof(Dashboard.Resources.Metrics.MetricsLastSixHours)], Id = TimeSpan.FromHours(6) },
93
new
() { 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
()
207
new
SelectViewModel
<LogLevel?> { Id = null, Name = ControlsStringsLoc[nameof(Dashboard.Resources.ControlsStrings.LabelAll)] },
208
new
SelectViewModel
<LogLevel?> { Id = LogLevel.Trace, Name = "Trace" },
209
new
SelectViewModel
<LogLevel?> { Id = LogLevel.Debug, Name = "Debug" },
210
new
SelectViewModel
<LogLevel?> { Id = LogLevel.Information, Name = "Information" },
211
new
SelectViewModel
<LogLevel?> { Id = LogLevel.Warning, Name = "Warning" },
212
new
SelectViewModel
<LogLevel?> { Id = LogLevel.Error, Name = "Error" },
213
new
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)
93
selectViewModels.Add(new
SelectViewModel
<ResourceTypeDetails>
103
selectViewModels.Add(new
SelectViewModel
<ResourceTypeDetails>
111
new
SelectViewModel
<ResourceTypeDetails>
Model\SpanType.cs (8)
68
new
() { Id = null, Name = loc[nameof(ControlsStrings.LabelAll)] },
69
new
() { Id = Http, Name = loc[nameof(ControlsStrings.SpanTypeHttp)] },
70
new
() { Id = Database, Name = loc[nameof(ControlsStrings.SpanTypeDatabase)] },
71
new
() { Id = Messaging, Name = loc[nameof(ControlsStrings.SpanTypeMessaging)] },
72
new
() { Id = Rpc, Name = loc[nameof(ControlsStrings.SpanTypeRpc)] },
73
new
() { Id = GenAI, Name = loc[nameof(ControlsStrings.SpanTypeGenAI)] },
74
new
() { Id = Cloud, Name = loc[nameof(ControlsStrings.SpanTypeCloud)] },
75
new
() { Id = Other, Name = loc[nameof(ControlsStrings.LabelOther)] },
Aspire.Dashboard.Tests (6)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (4)
28
var allResourceViewModel = new
SelectViewModel
<ResourceTypeDetails> { Id = null, Name = allResourceText };
71
var allResourceViewModel = new
SelectViewModel
<ResourceTypeDetails> { Id = null, Name = allResourceText };
152
var allResourceViewModel = new
SelectViewModel
<ResourceTypeDetails> { Id = null, Name = allResourceText };
185
var allResourceViewModel = new
SelectViewModel
<ResourceTypeDetails> { Id = null, Name = allResourceText };
Model\ApplicationsSelectHelpersTests.cs (2)
177
new
SelectViewModel
<ResourceTypeDetails>() { Name = "test", Id = ResourceTypeDetails.CreateSingleton("test-abc", "test") },
178
new
SelectViewModel
<ResourceTypeDetails>() { Name = "test", Id = ResourceTypeDetails.CreateSingleton("test-def", "test") }
305 references to SelectViewModel
Aspire.Dashboard (285)
Components\Controls\ClearSignalsButton.razor.cs (1)
25
public required
SelectViewModel
<ResourceTypeDetails> SelectedResource { get; set; }
Components\Controls\LogLevelSelect.razor.cs (3)
12
public required List<
SelectViewModel
<LogLevel?>> LogLevels { get; set; }
15
public required
SelectViewModel
<LogLevel?> LogLevel { get; set; }
18
public EventCallback<
SelectViewModel
<LogLevel?>> LogLevelChanged { get; set; }
Components\Controls\ResourceSelect.razor.cs (3)
21
public IEnumerable<
SelectViewModel
<ResourceTypeDetails>>? Resources { get; set; }
24
public
SelectViewModel
<ResourceTypeDetails>? SelectedResource { get; set; }
27
public EventCallback<
SelectViewModel
<ResourceTypeDetails>> SelectedResourceChanged { get; set; }
Components\Controls\SignalsActionsDisplay.razor.cs (1)
29
public required
SelectViewModel
<ResourceTypeDetails> SelectedResource { get; set; }
Components\Controls\SpanTypeSelect.razor.cs (3)
14
public required List<
SelectViewModel
<SpanType>> SpanTypes { get; set; }
17
public required
SelectViewModel
<SpanType> SpanType { get; set; }
20
public EventCallback<
SelectViewModel
<SpanType>> SpanTypeChanged { get; set; }
Components\Dialogs\FilterDialog.razor.cs (6)
15
private List<
SelectViewModel
<FilterCondition>> _filterConditions = null!;
17
private
SelectViewModel
<FilterCondition> CreateFilterSelectViewModel(FilterCondition condition) =>
30
private List<
SelectViewModel
<string>> _parameters = default!;
31
private List<
SelectViewModel
<FieldValue>> _filteredValues = default!;
32
private List<
SelectViewModel
<FieldValue>>? _allValues;
126
IEnumerable<
SelectViewModel
<FieldValue>> newValues = _allValues;
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
18
private List<
SelectViewModel
<string>> _options = null!;
Components\Pages\ConsoleLogs.razor.cs (10)
149
private ImmutableList<
SelectViewModel
<ResourceTypeDetails>>? _resources;
161
private
SelectViewModel
<ResourceTypeDetails> _allResource = null!;
347
private
SelectViewModel
<ResourceTypeDetails> GetSelectedOption()
655
internal static ImmutableList<
SelectViewModel
<ResourceTypeDetails>> GetConsoleLogResourceSelectViewModels(
657
SelectViewModel
<ResourceTypeDetails> allResourceViewModel,
660
out
SelectViewModel
<ResourceTypeDetails>? optionToSelect)
662
var builder = ImmutableList.CreateBuilder<
SelectViewModel
<ResourceTypeDetails>>();
707
SelectViewModel
<ResourceTypeDetails> ToOption(ResourceViewModel resource, bool isReplica, string resourceName)
740
_resources = GetConsoleLogResourceSelectViewModels(_resourceByName, _allResource, Loc[nameof(Dashboard.Resources.ConsoleLogs.ConsoleLogsUnknownState)], _showHiddenResources, out
var
optionToSelect);
1030
public required
SelectViewModel
<ResourceTypeDetails> SelectedResource { get; set; }
Components\Pages\Metrics.razor.cs (7)
21
private
SelectViewModel
<ResourceTypeDetails> _selectResource = null!;
22
private List<
SelectViewModel
<TimeSpan>> _durations = null!;
29
private List<
SelectViewModel
<ResourceTypeDetails>> _resourceViewModels = default!;
84
_durations = new List<
SelectViewModel
<TimeSpan>>
169
SelectViewModel
<ResourceTypeDetails>? TryGetSingleResource()
260
public required
SelectViewModel
<ResourceTypeDetails> SelectedResource { get; set; }
261
public
SelectViewModel
<TimeSpan> SelectedDuration { get; set; } = null!;
Components\Pages\StructuredLogs.razor.cs (6)
36
private
SelectViewModel
<ResourceTypeDetails> _allResource = default!;
42
private List<
SelectViewModel
<ResourceTypeDetails>> _resourceViewModels = default!;
43
private List<
SelectViewModel
<LogLevel?>> _logLevels = default!;
205
_logLevels = new List<
SelectViewModel
<LogLevel?>>
603
public required
SelectViewModel
<ResourceTypeDetails> SelectedResource { get; set; }
604
public
SelectViewModel
<LogLevel?> SelectedLogLevel { get; set; } = default!;
Components\Pages\TraceDetail.razor.cs (2)
50
private List<
SelectViewModel
<SpanType>> _spanTypes = default!;
51
private
SelectViewModel
<SpanType> _selectedSpanType = default!;
Components\Pages\Traces.razor.cs (5)
34
private
SelectViewModel
<ResourceTypeDetails> _allResource = null!;
39
private List<
SelectViewModel
<SpanType>> _spanTypes = default!;
41
private List<
SelectViewModel
<ResourceTypeDetails>> _resourceViewModels = default!;
454
public required
SelectViewModel
<ResourceTypeDetails> SelectedResource { get; set; }
455
public required
SelectViewModel
<SpanType> SelectedSpanType { get; set; }
Components_Controls_LogLevelSelect_razor.g.cs (37)
260
SelectViewModel
<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?>>.
429
SelectViewModel
<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)
404
public 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)
260
SelectViewModel
<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>>.
429
SelectViewModel
<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)
262
SelectViewModel
<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) => {
439
SelectViewModel
<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));
533
SelectViewModel
<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)
851
SelectViewModel
<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;
1078
SelectViewModel
<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)
357
foreach (
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>>(
605
SelectViewModel
<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)
33
public List<
SelectViewModel
<string>> SelectOptions { get; } = [];
Model\Otlp\FilterDialogFormModel.cs (2)
12
public
SelectViewModel
<string>? Parameter { get; set; }
15
public
SelectViewModel
<FilterCondition>? Condition { get; set; }
Model\Otlp\ResourcesSelectHelpers.cs (11)
10
public static
SelectViewModel
<ResourceTypeDetails> GetResource(this ICollection<
SelectViewModel
<ResourceTypeDetails>> resources, ILogger logger, string? name, bool canSelectGrouping,
SelectViewModel
<ResourceTypeDetails> fallbackViewModel)
49
static
SelectViewModel
<ResourceTypeDetails> SingleMatch(ICollection<
SelectViewModel
<ResourceTypeDetails>> resources, ILogger logger, string name,
SelectViewModel
<ResourceTypeDetails> match, bool fallback = false)
64
static
SelectViewModel
<ResourceTypeDetails> MultipleMatches(ICollection<
SelectViewModel
<ResourceTypeDetails>> resources, ILogger logger, string name, List<
SelectViewModel
<ResourceTypeDetails>> matches)
81
public static List<
SelectViewModel
<ResourceTypeDetails>> CreateResources(List<OtlpResource> resources)
85
var selectViewModels = new List<
SelectViewModel
<ResourceTypeDetails>>();
Model\Otlp\SelectViewModel.cs (3)
9
public class SelectViewModel<T> : IEquatable<
SelectViewModel
<T>>
14
public bool Equals(
SelectViewModel
<T>? other)
34
if (obj is
SelectViewModel
<T> other)
Model\SpanType.cs (2)
64
public static List<
SelectViewModel
<SpanType>> CreateKnownSpanTypes(IStringLocalizer<ControlsStrings> loc)
66
return new List<
SelectViewModel
<SpanType>>
Aspire.Dashboard.Tests (20)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (8)
28
var
allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText };
31
var viewModels = Components.Pages.ConsoleLogs.GetConsoleLogResourceSelectViewModels(resourcesByName, allResourceViewModel, unknownStateText, false, out
var
optionToSelect);
71
var
allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText };
74
var viewModels = Components.Pages.ConsoleLogs.GetConsoleLogResourceSelectViewModels(resourcesByName, allResourceViewModel, unknownStateText, false, out
var
optionToSelect);
152
var
allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText };
160
out
var
optionToSelect);
185
var
allResourceViewModel = new SelectViewModel<ResourceTypeDetails> { Id = null, Name = allResourceText };
193
out
var
optionToSelect);
Model\ApplicationsSelectHelpersTests.cs (10)
57
var
app = appVMs.GetResource(NullLogger.Instance, "multiple-instanceabc", canSelectGrouping: false, null!);
74
var
app = appVMs.GetResource(NullLogger.Instance, "singleton", canSelectGrouping: false, null!);
91
var
app = appVMs.GetResource(NullLogger.Instance, "singleton-", canSelectGrouping: false, null!);
112
var
app = appVMs.GetResource(NullLogger.Instance, name, canSelectGrouping: false, null!);
153
var
app1 = appVMs.GetResource(logger, "name-instance", canSelectGrouping: false, null!);
161
var
app2 = appVMs.GetResource(logger, "name-instanceabc", canSelectGrouping: false, null!);
175
var appVMs = new List<
SelectViewModel
<ResourceTypeDetails>>
185
var
app = appVMs.GetResource(factory.CreateLogger("Test"), "test", canSelectGrouping: false, null!);
224
var
app = appVMs.GetResource(NullLogger.Instance, "app", canSelectGrouping: false, null!);
261
var
app = appVMs.GetResource(NullLogger.Instance, "app", canSelectGrouping: true, null!);
Model\SpanWaterfallViewModelTests.cs (2)
182
var
spanType = SpanType.CreateKnownSpanTypes(new TestStringLocalizer<ControlsStrings>()).Single(t => t.Id?.Name == spanTypeName);
183
var
otherSpanType = SpanType.CreateKnownSpanTypes(new TestStringLocalizer<ControlsStrings>()).Single(t => t.Id?.Name == "other");