public override void Initialize() { //init updater _updateNotifier = new UpdateNotifier(); _updateNotifier.PropertyChanged += (sender, args) => OnPropertyChanged(nameof(VersionStatus)); //forward signalr manager _signalrmanager = new SignalRManager(); _signalrmanager.NewClientEvent += delegate(Client client) { NewClientEvent?.Invoke(client); }; _signalrmanager.ClientDisconnectedEvent += delegate(Client client) { ClientDisconnectedEvent?.Invoke(client); }; _signalrmanager.ClientUpdatedEvent += delegate(Client client) { ClientUpdatedEvent?.Invoke(client); }; _signalrmanager.NewLogMessageEvent += NotifyNewLogMessageEvent; _signalrmanager.NewConsoleLogMessage += delegate(Client pClient, string message) { NewConsoleLogMessage?.Invoke(pClient, message); }; _signalrmanager.WorkRequestedEvent += SignalrmanagerOnWorkRequestedEvent; _signalrmanager.ResultsReceivedEvent += SignalrmanagerOnResultsReceivedEvent; _signalrmanager.Initialize(); //create command manager _commandManager = new CommandManager(); _commandManager.NewLogMessageEvent += NotifyNewLogMessageEvent; _commandManager.Initialize(); base.Initialize(); }