Esempio n. 1
0
            /// <summary>
            /// ElementComparer constructor
            /// </summary>
            /// <param name="objectPool">Parent object pool</param>
            public ElementComparer(BalancingDynamicPoolManager <TElem> objectPool)
            {
                TurboContract.Requires(objectPool != null, conditionString: "objectPool != null");

                _objectPool = objectPool;
            }
Esempio n. 2
0
            /// <summary>
            /// ElementComparer constructor
            /// </summary>
            /// <param name="objectPool">Parent object pool</param>
            public ElementComparer(BalancingDynamicPoolManager <TElem> objectPool)
            {
                Contract.Requires(objectPool != null);

                _objectPool = objectPool;
            }