Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }