18 writes to AsInt
Aspire.Dashboard (4)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (3)
2938
AsInt
= other.AsInt;
3275
AsInt
= other.AsInt;
3362
AsInt
= input.ReadSFixed64();
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (1)
526
dataPoint.
AsInt
= json.AsInt.Value;
Aspire.Dashboard.Components.Tests (2)
Controls\PlotlyChartTests.cs (1)
80
AsInt
= 1,
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
116
AsInt
= value,
Aspire.Dashboard.Tests (12)
ChartDataCalculatorTests.cs (11)
106
AsInt
= 42,
127
AsInt
= 42,
153
AsInt
= 10,
160
AsInt
= 20,
183
AsInt
= 10,
189
AsInt
= 15 + (minute * 5),
215
AsInt
= 5,
222
AsInt
= 15,
242
AsInt
= 100,
273
AsInt
= 1,
425
AsInt
= 1,
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
116
AsInt
= value,
11 references to AsInt
Aspire.Dashboard (11)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (6)
2938
AsInt = other.
AsInt
;
3129
if (
AsInt
!= other.
AsInt
) return false;
3144
if (HasAsInt) hash ^=
AsInt
.GetHashCode();
3213
output.WriteSFixed64(
AsInt
);
3275
AsInt = other.
AsInt
;
Otlp\Model\MetricValues\DimensionScope.cs (2)
40
var value = d.
AsInt
;
54
_lastValue = new MetricValue<long>(d.
AsInt
, start, end);
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (3)
190
? pointType == LongPointType ? pendingLatest.IntegerValue == point.
AsInt
: pendingLatest.DoubleValue == point.AsDouble
191
: pointType == LongPointType ? latest?.IntegerValue == point.
AsInt
: latest?.DoubleValue == point.AsDouble);
225
IntegerValue = pointType == LongPointType ? point.
AsInt
: (long?)null,