public UpdateViewModel(IUpdateService updateService) { _upd = updateService; RunUpdateCommand = new AsyncCommand(UpdateAsync); MessengerInstance.Register <string>(this, (msg) => { if (msg != Ri2Constants.Notifications.Exit) { return; } _upd.CleanUp(); }); }