Exemplo n.º 1
0
            /// <summary>
            ///     Creates new instance of <see cref="ExtendedThreadPool" />.
            /// </summary>
            /// <returns>Thread pool instance.</returns>
            public IExtendedThreadPool Build()
            {
                Validate();
                var threadPool = new ExtendedThreadPool(this);

                threadPool.Start();
                return(threadPool);
            }
 /// <summary>
 ///     Creates new instance of <see cref="ExtendedThreadPool" />.
 /// </summary>
 /// <returns>Thread pool instance.</returns>
 public IExtendedThreadPool Build()
 {
     Validate();
     var threadPool = new ExtendedThreadPool(this);
     threadPool.Start();
     return threadPool;
 }