/// <summary>
 /// Initializes a new instance of the <see cref="ObservationMetricData" /> class.
 /// </summary>
 /// <param name="Metric">Metric.</param>
 /// <param name="Qualifier">Qualifier.</param>
 /// <param name="Stats">Stats.</param>
 /// <param name="Truncated">Flag for a truncated list of observations. If truncated, the first half of the list of observations will contain the oldest observations and the second half the newest observations..</param>
 /// <param name="Observations">List of observations sorted by timestamp in ascending order. This list may be truncated..</param>
 public ObservationMetricData(string Metric = null, string Qualifier = null, StatisticalSummary Stats = null, bool?Truncated = null, List <ObservationValue> Observations = null)
 {
     this.Metric       = Metric;
     this.Qualifier    = Qualifier;
     this.Stats        = Stats;
     this.Truncated    = Truncated;
     this.Observations = Observations;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AggregateViewData" /> class.
        /// </summary>


        /// <param name="Name">Name.</param>



        /// <param name="Stats">Stats.</param>


        public AggregateViewData(string Name = null, StatisticalSummary Stats = null)
        {
            this.Name = Name;



            this.Stats = Stats;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="AggregateMetricData" /> class.
 /// </summary>
 /// <param name="Metric">Metric.</param>
 /// <param name="Qualifier">Qualifier.</param>
 /// <param name="Stats">Stats.</param>
 public AggregateMetricData(string Metric = null, string Qualifier = null, StatisticalSummary Stats = null)
 {
     this.Metric    = Metric;
     this.Qualifier = Qualifier;
     this.Stats     = Stats;
 }