Exemple #1
0
        public IntervalsStore <BreakdownT> .IntervalsBreakdown[] GetIntervals(HistoryPeriod period, DateTime now)
        {
            if (histories.TryGetValue(period, out var store))
            {
                return(store.GetIntervals(now));
            }

            throw new Exception("Unsupported history size.");
        }
Exemple #2
0
 protected bool Equals(HistoryPeriod other)
 {
     return(Value.Equals(other.Value));
 }