예제 #1
0
//        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))
            };
        }
예제 #2
0
 public NewsServerConnection(NewsServerConnection other)
     : base(other)
 {
     _nzbDrive = other._nzbDrive;
 }