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