Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the PSMetricSettings class.
 /// </summary>
 public PSMetricSettings(MetricSettings metricSettings)
 {
     this.Enabled = metricSettings.Enabled;
     this.TimeGrain = metricSettings.TimeGrain;
     this.RetentionPolicy = metricSettings.RetentionPolicy;
 }
 /// <summary>
 /// Initializes a new instance of the PSMetricSettings class.
 /// </summary>
 public PSMetricSettings(MetricSettings metricSettings)
 {
     this.Enabled = metricSettings.Enabled;
     this.Timegrain = XmlConvert.ToString(metricSettings.TimeGrain);
 }
 /// <summary>
 /// Initializes a new instance of the PSMetricSettings class.
 /// </summary>
 public PSMetricSettings(MetricSettings metricSettings)
 {
     this.Enabled = metricSettings.Enabled;
     this.Timegrain = XmlConvert.ToString(metricSettings.TimeGrain);
     this.RetentionPolicy = new PSRetentionPolicy(metricSettings.RetentionPolicy);
 }