Exemplo n.º 1
0
 public LogService(NetfoxLogger netfoxLogger, IDetectiveMessenger messenger)
 {
     this.NetfoxLogger = netfoxLogger;
     Task.Factory.StartNew(() => messenger.Register <OpenedInvestigationMessage>(this, this.OpenedInvestigationMessageReceived));
     Task.Factory.StartNew(() => messenger.Register <ClosedWorkspaceMessage>(this, this.ClosedWorkspaceMessageReceived));
     this.LoadSettings();
 }
Exemplo n.º 2
0
 public EnvironmentSettingsTabVm(WindsorContainer applicationWindsorContainer, NetfoxLogger netfoxLogger) : base(applicationWindsorContainer)
 {
     this.NetfoxLogger = netfoxLogger;
     DispatcherHelper.CheckBeginInvokeOnUI(() => this.View = this.ApplicationOrInvestigationWindsorContainer.Resolve <IEnvironmentSettingsTab>());
 }
Exemplo n.º 3
0
 public LogService(NetfoxLogger netfoxLogger)
 {
     this.NetfoxLogger = netfoxLogger;
     Task.Factory.StartNew(() => Messenger.Default.Register <InvestigationMessage>(this, this.InvestigationMessageHandler));
     this.LoadSettings();
 }