Beispiel #1
0
 /// <summary>
 /// Protected default constructor
 /// </summary>
 protected ReadonlyCollection()
 {
     Items = new FastList <T>(0);
 }
Beispiel #2
0
 /// <summary>
 /// Add items at the end of the list.
 /// </summary>
 /// <param name="list">The list containing the items to add</param>
 public void AddRange(FastList <T> list)
 {
     AddRange(list.m_items, list.Count);
 }
Beispiel #3
0
 /// <summary>
 /// Protected default constructor with an initial capacity.
 /// </summary>
 protected ReadonlyCollection(int capacity)
 {
     Items = new FastList <T>(capacity);
 }