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; }
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; }