예제 #1
0
 public YReportInitializer(YCounter counter, DateTime dateStart, DateTime dateEnd, ICollection <string> metrics)
 {
     this.Counter    = counter;
     this.Dimensions = new YCustomDimension[0];
     this.Metrics    = metrics.Select(x => new YCustomMetric(x)).ToArray();
     this.DateStart  = dateStart;
     this.DateEnd    = dateEnd;
 }
예제 #2
0
 public YReportInitializer(YCounter counter, DateTime dateStart, DateTime dateEnd, ICollection <YCustomMetric> metrics, ICollection <YCustomDimension> dimensions)
 {
     this.Counter    = counter;
     this.Dimensions = dimensions;
     this.Metrics    = metrics;
     this.DateStart  = dateStart;
     this.DateEnd    = dateEnd;
 }