コード例 #1
0
 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;
 }
コード例 #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
     };
 }