public void Update(DestinyMilestoneContent?other) { if (other is null) { return; } if (About != other.About) { About = other.About; OnPropertyChanged(nameof(About)); } if (Status != other.Status) { Status = other.Status; OnPropertyChanged(nameof(Status)); } if (!Tips.DeepEqualsListNaive(other.Tips)) { Tips = other.Tips; OnPropertyChanged(nameof(Tips)); } if (!ItemCategories.DeepEqualsList(other.ItemCategories)) { ItemCategories = other.ItemCategories; OnPropertyChanged(nameof(ItemCategories)); } }
public bool DeepEquals(DestinyMilestoneContent?other) { return(other is not null && About == other.About && Status == other.Status && Tips.DeepEqualsListNaive(other.Tips) && ItemCategories.DeepEqualsList(other.ItemCategories)); }