56 references to DataOneofCase
Aspire.Dashboard (56)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (49)
1137case DataOneofCase.Gauge: 1140case DataOneofCase.Sum: 1143case DataOneofCase.Histogram: 1146case DataOneofCase.ExponentialHistogram: 1149case DataOneofCase.Summary: 1214get { return dataCase_ == DataOneofCase.Gauge ? (global::OpenTelemetry.Proto.Metrics.V1.Gauge) data_ : null; } 1217dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.Gauge; 1226get { return dataCase_ == DataOneofCase.Sum ? (global::OpenTelemetry.Proto.Metrics.V1.Sum) data_ : null; } 1229dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.Sum; 1238get { return dataCase_ == DataOneofCase.Histogram ? (global::OpenTelemetry.Proto.Metrics.V1.Histogram) data_ : null; } 1241dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.Histogram; 1250get { return dataCase_ == DataOneofCase.ExponentialHistogram ? (global::OpenTelemetry.Proto.Metrics.V1.ExponentialHistogram) data_ : null; } 1253dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.ExponentialHistogram; 1262get { return dataCase_ == DataOneofCase.Summary ? (global::OpenTelemetry.Proto.Metrics.V1.Summary) data_ : null; } 1265dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.Summary; 1279private DataOneofCase dataCase_ = DataOneofCase.None; 1282public DataOneofCase DataCase { 1289dataCase_ = DataOneofCase.None; 1327if (dataCase_ == DataOneofCase.Gauge) hash ^= Gauge.GetHashCode(); 1328if (dataCase_ == DataOneofCase.Sum) hash ^= Sum.GetHashCode(); 1329if (dataCase_ == DataOneofCase.Histogram) hash ^= Histogram.GetHashCode(); 1330if (dataCase_ == DataOneofCase.ExponentialHistogram) hash ^= ExponentialHistogram.GetHashCode(); 1331if (dataCase_ == DataOneofCase.Summary) hash ^= Summary.GetHashCode(); 1405if (dataCase_ == DataOneofCase.Gauge) { 1409if (dataCase_ == DataOneofCase.Sum) { 1413if (dataCase_ == DataOneofCase.Histogram) { 1417if (dataCase_ == DataOneofCase.ExponentialHistogram) { 1421if (dataCase_ == DataOneofCase.Summary) { 1444if (dataCase_ == DataOneofCase.Gauge) { 1447if (dataCase_ == DataOneofCase.Sum) { 1450if (dataCase_ == DataOneofCase.Histogram) { 1453if (dataCase_ == DataOneofCase.ExponentialHistogram) { 1456if (dataCase_ == DataOneofCase.Summary) { 1481case DataOneofCase.Gauge: 1487case DataOneofCase.Sum: 1493case DataOneofCase.Histogram: 1499case DataOneofCase.ExponentialHistogram: 1505case DataOneofCase.Summary: 1622if (dataCase_ == DataOneofCase.Gauge) { 1631if (dataCase_ == DataOneofCase.Sum) { 1640if (dataCase_ == DataOneofCase.Histogram) { 1649if (dataCase_ == DataOneofCase.ExponentialHistogram) { 1658if (dataCase_ == DataOneofCase.Summary) {
Otlp\Model\OtlpApplication.cs (4)
87private static OtlpInstrumentType MapMetricType(Metric.DataOneofCase data) 91Metric.DataOneofCase.Gauge => OtlpInstrumentType.Gauge, 92Metric.DataOneofCase.Sum => OtlpInstrumentType.Sum, 93Metric.DataOneofCase.Histogram => OtlpInstrumentType.Histogram,
Otlp\Model\OtlpInstrument.cs (3)
46case Metric.DataOneofCase.Gauge: 52case Metric.DataOneofCase.Sum: 58case Metric.DataOneofCase.Histogram: