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 ConversationController(IContainer container, Model m) { windowController = container.Resolve<PopupWindowController>(); model = m; this.container = container; uiConversations = new SafeObservingCollection<Conversation>(conversations); uiConversations.CollectionChanged += uiConversations_CollectionChanged; windowController.OnTabClosing += chatPopupController_OnTabClosing; }
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 ConversationController(IContainer container, Model m) { windowController = container.Resolve <PopupWindowController>(); model = m; this.container = container; uiConversations = new SafeObservingCollection <Conversation>(conversations); uiConversations.CollectionChanged += uiConversations_CollectionChanged; windowController.OnTabClosing += chatPopupController_OnTabClosing; }
public Conversation() { uiMessages = new SafeObservingCollection<string>(messages); }
public Conversation() { uiMessages = new SafeObservingCollection <string>(messages); }