Example #1
0
        private void ReevaluateIsAlreadyExported(IConversationsVm converstionsVm)
        {
            if (converstionsVm == null)
            {
                return;
            }

            this.IsAlreadyExported = converstionsVm.UsedSnoopers.Contains(this);
        }
 public ConversationsOverviewVm(WindsorContainer applicationWindsorContainer, IConversationsVm model) : base(applicationWindsorContainer, model)
 {
     this.ConversationsVm = model;
     this.NavigationService.Show(typeof(ConversationsDetailVm), model, false); //hack to open pane in background while opening overview ... temporary todo
     DispatcherHelper.CheckBeginInvokeOnUI(() => this.View = this.ApplicationOrInvestigationWindsorContainer.Resolve <IConversationsOverviewView>());
     //Binder.Bind(this, "IsSelected", this.ConversationsVm, "IsSelected", BindingDirection.OneWay);
     //Task.Factory.StartNew(() => Messenger.Default.Register<CaptureMessage>(this, this.CaptureActionHandler));
     //this.PropertyObserver = new PropertyObserver<IConversationsVm>(this.ConversationsVm);
     //this.PropertyObserver.RegisterHandler(n => n.CurrentConversation,
     //    n => ConversationMessage.SendConversationMessage(n.CurrentConversation, ConversationMessage.MessageType.CurrentConversationChanged, false));
 }
Example #3
0
        public VoIPOverviewVm(WindsorContainer investigationOrAppWindsorContainer, IConversationsVm model) : base(investigationOrAppWindsorContainer, model)
        {
            this.ConversationsVm = model;
            DispatcherHelper.CheckBeginInvokeOnUI(() => this.View = this.ApplicationOrInvestigationWindsorContainer.Resolve <IVoIPOverviewView>());

            this.SipExports = this.ApplicationOrInvestigationWindsorContainer.Resolve <VirtualizingObservableDBSetPagedCollection <SnooperExportSIP> >(new
            {
                investigationWindsorContainer = this.ApplicationOrInvestigationWindsorContainer
            });
            this.RtpExports = this.ApplicationOrInvestigationWindsorContainer.Resolve <VirtualizingObservableDBSetPagedCollection <SnooperExportRTP> >(new
            {
                investigationWindsorContainer = this.ApplicationOrInvestigationWindsorContainer
            });
        }
Example #4
0
 public ConversationsDetailVm(WindsorContainer applicationWindsorContainer, IConversationsVm model) : base(applicationWindsorContainer, model)
 {
     this.ConversationsVm = model;
     DispatcherHelper.CheckBeginInvokeOnUI(() => this.View = this.ApplicationOrInvestigationWindsorContainer.Resolve <IConversationsDetailView>());
 }