Example #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();
 }
Example #2
0
 public EnvironmentSettingsTabVm(WindsorContainer applicationWindsorContainer, NetfoxLogger netfoxLogger) : base(applicationWindsorContainer)
 {
     this.NetfoxLogger = netfoxLogger;
     DispatcherHelper.CheckBeginInvokeOnUI(() => this.View = this.ApplicationOrInvestigationWindsorContainer.Resolve <IEnvironmentSettingsTab>());
 }
Example #3
0
 public LogService(NetfoxLogger netfoxLogger)
 {
     this.NetfoxLogger = netfoxLogger;
     Task.Factory.StartNew(() => Messenger.Default.Register <InvestigationMessage>(this, this.InvestigationMessageHandler));
     this.LoadSettings();
 }