11 references to MetricValue
Aspire.Dashboard.Tests (11)
ChartDataCalculatorTests.cs (11)
915cachedDimension.Values.Add(new MetricValue<long>(1, start, start.AddSeconds(1)));
916cachedDimension.Values.Add(new MetricValue<long>(2, start.AddSeconds(1), start.AddSeconds(2)));
919refreshedDimension.Values.Add(new MetricValue<long>(1, start, start.AddSeconds(1)));
920refreshedDimension.Values.Add(new MetricValue<long>(2, start.AddSeconds(1), start.AddSeconds(3)));
921refreshedDimension.Values.Add(new MetricValue<long>(3, start.AddSeconds(3), start.AddSeconds(4)));
923newDimension.Values.Add(new MetricValue<long>(4, start.AddSeconds(3), start.AddSeconds(4)));
948cachedDimension.Values.Add(new MetricValue<long>(1, start, start.AddSeconds(5)));
949cachedDimension.Values.Add(new MetricValue<long>(2, start.AddSeconds(14), start.AddSeconds(15)));
950cachedDimension.Values.Add(new MetricValue<long>(3, start.AddSeconds(29), start.AddSeconds(30)));
953refreshedDimension.Values.Add(new MetricValue<long>(20, start.AddSeconds(14), start.AddSeconds(15)));
954refreshedDimension.Values.Add(new MetricValue<long>(3, start.AddSeconds(29), start.AddSeconds(30)));