public void AddPool <T>(T reference, int initialSize) where T : class, new () { PoolCollections <T> .AddPool(reference, initialSize); }
public void Destroy <T>() where T : class, new () { PoolCollections <T> .DestroyPool(); }
public void Destroy <T>(T reference) where T : class, new () { PoolCollections <T> .DestroyPool(reference); }
public void Clear <T>(T reference) where T : class, new () { PoolCollections <T> .ClearPool(reference); }
public void Clear <T>() where T : class, new () { PoolCollections <T> .ClearPool(); }
public void Recycle <T>(T reference) where T : class, new () { PoolCollections <T> .GetPool(reference).Recycle(reference); }
public T Get <T>(T reference) where T : class, new () { return(PoolCollections <T> .GetPool(reference).Get()); }
public T Get <T>() where T : class, new () { return(PoolCollections <T> .GetPool().Get()); }