private List <PostingThread> ConstructPostingThreads() { List <PostingThread> postingThreads = new List <PostingThread>(); for (int i = 0; i < configuration.MaxConnectionCount; i++) { var postingThread = new PostingThread(configuration, folderConfiguration, connectionInfo, MessagesToPost); postingThread.MessagePosted += PostingThread_MessagePosted; postingThreads.Add(postingThread); } return(postingThreads); }
private List<PostingThread> ConstructPostingThreads() { List<PostingThread> postingThreads = new List<PostingThread>(); for (int i = 0; i < configuration.MaxConnectionCount; i++) { var postingThread = new PostingThread(configuration, folderConfiguration, connectionInfo, MessagesToPost); postingThread.MessagePosted += postingThread_MessagePosted; postingThreads.Add(postingThread); } return postingThreads; }