コード例 #1
0
 public T Get <T>(T reference) where T : class, new ()
 {
     return(PoolCollections <T> .GetPool(reference).Get());
 }
コード例 #2
0
 public void Recycle <T>(T reference) where T : class, new ()
 {
     PoolCollections <T> .GetPool(reference).Recycle(reference);
 }
コード例 #3
0
 public T Get <T>() where T : class, new ()
 {
     return(PoolCollections <T> .GetPool().Get());
 }