Exemple #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;
            }
Exemple #2
0
            /// <summary>
            /// ElementComparer constructor
            /// </summary>
            /// <param name="objectPool">Parent object pool</param>
            public ElementComparer(BalancingDynamicPoolManager <TElem> objectPool)
            {
                Contract.Requires(objectPool != null);

                _objectPool = objectPool;
            }