Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServerReport" /> class.
 /// </summary>
 /// <param name="dailyAverage">dailyAverage.</param>
 /// <param name="from">from.</param>
 /// <param name="monthlyAverage">monthlyAverage.</param>
 /// <param name="to">to.</param>
 /// <param name="total">total.</param>
 /// <param name="weeklyAverage">weeklyAverage.</param>
 public ServerReport(TimeHolder dailyAverage = default(TimeHolder), LocalDate from = default(LocalDate), TimeHolder monthlyAverage = default(TimeHolder), LocalDate to = default(LocalDate), TimeHolder total = default(TimeHolder), TimeHolder weeklyAverage = default(TimeHolder))
 {
     this.DailyAverage   = dailyAverage;
     this.From           = from;
     this.MonthlyAverage = monthlyAverage;
     this.To             = to;
     this.Total          = total;
     this.WeeklyAverage  = weeklyAverage;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserReport" /> class.
 /// </summary>
 /// <param name="dailyAverage">dailyAverage.</param>
 /// <param name="from">from.</param>
 /// <param name="monthlyAverage">monthlyAverage.</param>
 /// <param name="name">name.</param>
 /// <param name="to">to.</param>
 /// <param name="total">total.</param>
 /// <param name="uuid">uuid.</param>
 /// <param name="weeklyAverage">weeklyAverage.</param>
 public UserReport(TimeHolder dailyAverage = default(TimeHolder), LocalDate from = default(LocalDate), TimeHolder monthlyAverage = default(TimeHolder), string name = default(string), LocalDate to = default(LocalDate), TimeHolder total = default(TimeHolder), Guid?uuid = default(Guid?), TimeHolder weeklyAverage = default(TimeHolder))
 {
     this.DailyAverage   = dailyAverage;
     this.From           = from;
     this.MonthlyAverage = monthlyAverage;
     this.Name           = name;
     this.To             = to;
     this.Total          = total;
     this.Uuid           = uuid;
     this.WeeklyAverage  = weeklyAverage;
 }