private void UpdateAccolade(SimpleEditableAccolade source, Accolade target) { target.VideoGameId = source.VideoGameId; target.Name = source.Name; target.Description = source.Description; target.ImageUrl = source.ImageUrl; target.Notes = source.Notes; target.DateEarned = source.DateEarned; target.OnlineOnly = source.OnlineOnly; }
public void SetAccolade(Accolade accolade) { _editingAccolade = accolade; if (Accolade != null) { Accolade.ErrorsChanged -= RaiseCanExecuteChanged; } Accolade = new SimpleEditableAccolade(); Accolade.ErrorsChanged += RaiseCanExecuteChanged; CopyAccolade(accolade, Accolade); }