コード例 #1
0
    public static PooledList Allocate(List <ObjectType> objects)
    {
        PooledList pooledList = pool.Allocate();

        pooledList.AddRange(objects);
        return(pooledList);
    }
コード例 #2
0
 public static PooledDictionary Allocate()
 {
     return(pool.Allocate());
 }
コード例 #3
0
 public static PooledQueue Allocate()
 {
     return(pool.Allocate());
 }
コード例 #4
0
 public static PooledHashSet Allocate()
 {
     return(pool.Allocate());
 }