1 write to Instrument
Aspire.Dashboard (1)
Model\InstrumentViewModel.cs (1)
20
Instrument
= instrument;
11 references to Instrument
Aspire.Dashboard (11)
Components\Controls\Chart\ChartBase.cs (7)
79
InstrumentViewModel.
Instrument
is null ||
94
if (_renderedInstrument is null || _renderedInstrument != InstrumentViewModel.
Instrument
.GetKey() ||
100
_renderedInstrument = InstrumentViewModel.
Instrument
.GetKey();
203
return $"<b>{HttpUtility.HtmlEncode(InstrumentViewModel.
Instrument
?.Name)}</b><br />{HttpUtility.HtmlEncode(name)}: {FormatHelpers.FormatNumberWithOptionalDecimalPlaces(yValue, maxDecimalPlaces: 6, CultureInfo.CurrentCulture)}<br />Time: {FormatHelpers.FormatTime(TimeProvider, TimeProvider.ToLocal(xValue))}";
491
Debug.Assert(InstrumentViewModel.
Instrument
!= null);
494
? GetDisplayedUnit(InstrumentViewModel.
Instrument
)
500
if (InstrumentViewModel.
Instrument
?.Type != OtlpInstrumentType.Histogram || InstrumentViewModel.ShowCount)
Components\Controls\Chart\MetricTable.razor.cs (3)
52
if (!Equals(_instrument?.Name, InstrumentViewModel.
Instrument
?.Name) || _showCount != InstrumentViewModel.ShowCount)
59
_instrument = InstrumentViewModel.
Instrument
;
100
Instrument = InstrumentViewModel.
Instrument
!
Components\Controls\Chart\PlotlyChart.razor.cs (1)
44
if (InstrumentViewModel?.
Instrument
is { } instrument)