public void Update(DestinyPresentationNodeChildrenBlock?other) { if (other is null) { return; } if (!PresentationNodes.DeepEqualsList(other.PresentationNodes)) { PresentationNodes = other.PresentationNodes; OnPropertyChanged(nameof(PresentationNodes)); } if (!Collectibles.DeepEqualsList(other.Collectibles)) { Collectibles = other.Collectibles; OnPropertyChanged(nameof(Collectibles)); } if (!Records.DeepEqualsList(other.Records)) { Records = other.Records; OnPropertyChanged(nameof(Records)); } if (!Metrics.DeepEqualsList(other.Metrics)) { Metrics = other.Metrics; OnPropertyChanged(nameof(Metrics)); } }
public bool DeepEquals(DestinyPresentationNodeChildrenBlock?other) { return(other is not null && PresentationNodes.DeepEqualsList(other.PresentationNodes) && Collectibles.DeepEqualsList(other.Collectibles) && Records.DeepEqualsList(other.Records) && Metrics.DeepEqualsList(other.Metrics)); }