Ejemplo n.º 1
0
    public static PooledList Allocate(List <ObjectType> objects)
    {
        PooledList pooledList = pool.Allocate();

        pooledList.AddRange(objects);
        return(pooledList);
    }
 public static PooledDictionary Allocate()
 {
     return(pool.Allocate());
 }
 public static PooledQueue Allocate()
 {
     return(pool.Allocate());
 }
 public static PooledHashSet Allocate()
 {
     return(pool.Allocate());
 }