public NZBDriveModel(NZBDriveDLL.NZBDrive nzbDrive) { Log = new Log(nzbDrive); _nzbDrive = nzbDrive; Status = new NZBDriveStatus(nzbDrive); NewsServerCollection = new NewsServerCollection(nzbDrive); NewsServerThrottling = new NewsServerThrottling(nzbDrive); MountedNZBFileList = new NZBFileList(nzbDrive); Options = new NZBDriveOptions(nzbDrive); SetEvents(); }
internal void NewsConnectionEvent(NZBDriveDLL.ConnectionState state, int server, int thread) { NewsServerCollection.NewsConnectionEvent(state, server, thread); }