Пример #1
0
 public Model()
 {
     node = new Node();
     downloadQueue = new DownloadQueue();
     shutdownLock = new ReaderWriterLockSlim();
     uiTransferSession = new SafeObservingCollection<TransferSession>(transferSessions);
     uiDownloads = new SafeObservingCollection<TransferLog>(downloads);
     uiUploads = new SafeObservingCollection<TransferLog>(uploads);
 }
Пример #2
0
 public Model()
 {
     node              = new Node();
     downloadQueue     = new DownloadQueue();
     shutdownLock      = new ReaderWriterLockSlim();
     uiTransferSession = new SafeObservingCollection <TransferSession>(transferSessions);
     uiDownloads       = new SafeObservingCollection <TransferLog>(downloads);
     uiUploads         = new SafeObservingCollection <TransferLog>(uploads);
 }