6 writes to SelectedInstrument
Aspire.Dashboard (6)
Components\Legacy\Pages\Metrics.razor.cs (6)
163viewModel.SelectedInstrument = null; 171viewModel.SelectedInstrument = viewModel.Instruments.FirstOrDefault(i => i.Parent.Name == MeterName && i.Name == InstrumentName); 218PageViewModel.SelectedInstrument = null; 293PageViewModel.SelectedInstrument = null; 298PageViewModel.SelectedInstrument = instrument; 303PageViewModel.SelectedInstrument = null;
5 references to SelectedInstrument
Aspire.Dashboard (5)
Components\Legacy\Controls\TreeMetricSelector.razor.cs (1)
36if (PageViewModel.SelectedInstrument is { } instrument)
Components\Legacy\Pages\Metrics.razor.cs (4)
141InstrumentName = PageViewModel.SelectedInstrument?.Name, 213PageViewModel.SelectedInstrument != null) 236if (PageViewModel.SelectedInstrument != null && !instruments.Any(i => i.Name == PageViewModel.SelectedInstrument.Name))