public int CountChanges() { return(DaysCollection.Sum(pDay => pDay.Count)); }
public int CountChanges(DateTime dt0, DateTime dt1) { return(DaysCollection.Sum(pDay => pDay != null && pDay.IsInPeriod(dt0, dt1) ? pDay.Count : 0)); }
public int CountChanges() { return(DaysCollection.Sum(pDay => pDay.Count)); }
public int CountChanges(DateTime dt0, DateTime dt1) { return(DaysCollection.Sum(pDay => pDay != null && pDay.IsInPeriod(dt0, dt1) ? pDay.Count : 0)); }