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