diff --git a/src/Spring/Spring.Core/Pool/Support/SimplePool.cs b/src/Spring/Spring.Core/Pool/Support/SimplePool.cs index d65dc91a..5add02ea 100644 --- a/src/Spring/Spring.Core/Pool/Support/SimplePool.cs +++ b/src/Spring/Spring.Core/Pool/Support/SimplePool.cs @@ -55,6 +55,25 @@ namespace Spring.Pool.Support internal readonly Semaphore available; /// + /// Creates a new instance of the + /// class. + /// + /// + /// The factory used to instantiate and manage the lifecycle of pooled objects. + /// + /// The initial size of the pool. + /// + /// If the supplied is . + /// + /// + /// If the supplied is less than or equal to zero. + /// + public SimplePool(IPoolableObjectFactory factory, int initialSize) + : this(factory, initialSize, initialSize) + { + } + + /// /// Creates a new instance of the /// class. /// @@ -67,7 +86,7 @@ namespace Spring.Pool.Support /// If the supplied is . /// /// - /// If the supplied is less than or equal to zero. + /// If the supplied is less than or equal to zero. /// public SimplePool(IPoolableObjectFactory factory, int maxSize, int initialSize) {