public Graph(GraphDescription description, int initialSeriesCapacity = 8) { Description = description; if (initialSeriesCapacity <= 0) { throw new ArgumentException("Capacity must be positive."); } graphSeries = new List <Series>(initialSeriesCapacity); }
public Graph(GraphDescription description, int initialSeriesCapacity = 8) { Description = description; if (initialSeriesCapacity <= 0) { throw new ArgumentException("Capacity must be positive."); } QuickList <Series, Array <Series> > .Create(new PassthroughArrayPool <Series>(), initialSeriesCapacity, out graphSeries); }