// private NewsServerConnectionData server; public NewsServer(NZBDriveDLL.NZBDrive nzbDrive, NewsServerConnectionData server) { ServerConnection = new NewsServerConnection(nzbDrive, server); ServerStatus = new NewsServerStatus() { ConnectionDataRate = 0, ConnectionDataRateUnit = DataRateUnit.Unlimited, ErrorCount = 0, ConnectionStatusCollection = new ObservableCollection <NewsServerConnectionStatus>(Enumerable.Repeat(NewsServerConnectionStatus.Disconnected, server.Connections)) }; }
public NewsServerConnection(NewsServerConnection other) : base(other) { _nzbDrive = other._nzbDrive; }