Exemple #1
0
        //readonly Constructor constructor;
        //readonly Destructor destructor;
        //readonly bool isPoolable;
        //readonly IPoolUpdater updater;
        //bool updating;

        protected PoolBase(object reference, IPoolingFactory factory, IPoolingUpdater updater, IInitializer initializer, int startSize)
        {
            this.reference   = reference;
            this.factory     = factory;
            this.updater     = updater;
            this.initializer = initializer;
            //this.startSize = startSize;
        }
Exemple #2
0
 //readonly Constructor constructor;
 //readonly Destructor destructor;
 //readonly bool isPoolable;
 //readonly IPoolUpdater updater;
 //bool updating;
 protected PoolBase(object reference, IPoolingFactory factory, IPoolingUpdater updater, IInitializer initializer, int startSize)
 {
     this.reference = reference;
     this.factory = factory;
     this.updater = updater;
     this.initializer = initializer;
     //this.startSize = startSize;
 }