Beispiel #1
0
        public override void Release(PooledClassObject obj)
        {
            T item = obj as T;

            obj.usingSeq = 0;
            base.pool.Add(item);
        }
Beispiel #2
0
        public override void Release(PooledClassObject obj)
        {
            T t = obj as T;

            obj.usingSeq = 0u;
            obj.holder   = null;
            this.pool.Add(t);
        }
Beispiel #3
0
 public abstract void Release(PooledClassObject obj);