2 writes to Index
Aspire.Dashboard (2)
Model\GenAI\GenAIVisualizerDialogViewModel.cs (2)
177
Index
= viewModel.Items.Count,
494
Index
= currentIndex,
6 references to Index
Aspire.Dashboard (5)
Components\Controls\TreeGenAISelector.razor.cs (1)
26
return SelectedItem is { } item ? GetItemTreeItemId(item.
Index
) : "genai-span";
Components\Dialogs\GenAIVisualizerDialog.razor.cs (4)
146
var previousIndex = SelectedItem?.
Index
;
193
SelectedItem = Content.Items.FirstOrDefault(m => m.
Index
== selectedIndex);
260
var selectedIndex = SelectedItem?.
Index
;
273
SelectedItem = dialogViewModel.Items.SingleOrDefault(e => e.
Index
== selectedIndex);
Aspire.Dashboard.Components.Tests (1)
Controls\GenAIVisualizerDialogTests.cs (1)
200
Assert.Equal($"genai-item-{selectedMessage.
Index
}", tree.Instance.SelectedId);