Beispiel #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);
 }
Beispiel #2
0
 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;
 }
Beispiel #3
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);
 }
Beispiel #4
0
 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;
 }
Beispiel #5
0
 public Conversation()
 {
     uiMessages = new SafeObservingCollection<string>(messages);
 }
Beispiel #6
0
 public Conversation()
 {
     uiMessages = new SafeObservingCollection <string>(messages);
 }