public SallyAreaViewModel(ISallyArea area, Action updateAction) { this.Area = area; this.IsSelected = true; this.action = updateAction; this.CompositeDisposable.Add(new PropertyChangedEventListener(ResourceService.Current) { (sender, args) => { this.RaisePropertyChanged("Area"); }, }); }
private void Update(Ship ship) { this.Area = SallyArea.Get(ship); }