Esempio n. 1
0
 public static void DeletePool(BaseObjectPool Pool)
 {
     if (Pool != null)
     {
         DeletePool(Pool.PoolName);
     }
 }
Esempio n. 2
0
        public static BaseObjectPool AddPool(BaseObjectPool Pool)
        {
            if (!PoolList_.ContainsKey(Pool.PoolName))
            {
                PoolList_.Add(Pool.PoolName, Pool);
                return(Pool);
            }

            return(PoolList_[Pool.PoolName]);
        }