Microsoft.HockeyApp.DataContracts.MetricTelemetry.UpdateKind C# (CSharp) Méthode

UpdateKind() private méthode

private UpdateKind ( ) : void
Résultat void
        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;
        }
    }