Exemplo n.º 1
0
 internal MonitorDataSet(int sizeMax, string name, TimeSpan? timespan)
 {
     points = new CircularList<IMonitorData>(sizeMax);
     Name = name;
     TimespanTotal = timespan;
     SizeMax = sizeMax;
     if (timespan.HasValue) TimespanInterval = new TimeSpan(timespan.Value.Ticks / sizeMax);
 }
Exemplo n.º 2
0
 public static void Sort <T>(this ICircularList <T> source)
     where T : IComparable <T>
 {
     Sort(source, 0, source.Count);
 }