public static void DeletePool(BaseObjectPool Pool) { if (Pool != null) { DeletePool(Pool.PoolName); } }
public static BaseObjectPool AddPool(BaseObjectPool Pool) { if (!PoolList_.ContainsKey(Pool.PoolName)) { PoolList_.Add(Pool.PoolName, Pool); return(Pool); } return(PoolList_[Pool.PoolName]); }