private void UpdateKind()
{
bool isAggregation = this.Metric.count != null || this.Metric.min != null || this.Metric.max != null || this.Metric.stdDev != null;
if (this.isAggregation != isAggregation)
{
if (isAggregation)
{
this.Metric.kind = DataPointType.Aggregation;
}
else
{
this.Metric.kind = DataPointType.Measurement;
}
}
this.isAggregation = isAggregation;
}
}