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); }
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); }