public FavouriteServersViewModel(IFavouriteServerStore favouriteServerStore) { _favouriteServerStore = favouriteServerStore; foreach (var favourite in _favouriteServerStore.LoadFromStore()) { _addresses.Add(favourite); } NewAddressCommand = new DelegateCommand(OnNewAddress); RemoveSelectedCommand = new DelegateCommand(OnRemoveSelected); SaveCommand = new DelegateCommand(OnSave); OnDefaultChangedCommand = new DelegateCommand(OnDefaultChanged); }