internal NewMessage(int id, int forumId, string forum, string subject, int reply,
                     bool hold, NewMessageCollection parent)
 {
     _id      = id;
     _forumId = forumId;
     _forum   = forum;
     _subject = subject;
     _reply   = reply;
     _hold    = hold;
     _parent  = parent;
 }
Esempio n. 2
0
 public OutboxManager(IServiceProvider serviceProvider)
 {
     _serviceProvider = serviceProvider;
     _newMessages     = new NewMessageCollection(serviceProvider, this);
     _rateMarks       = new RateMarkCollection(serviceProvider, this);
     _downloadTopics  = new DownloadTopicCollection(serviceProvider, this);
     _collections     = new ITreeNode[]
     {
         _newMessages, _rateMarks, _downloadTopics
     };
 }