public bool DeepEquals(FireteamResponse?other) { return(other is not null && (Summary is not null ? Summary.DeepEquals(other.Summary) : other.Summary is null) && Members.DeepEqualsList(other.Members) && Alternates.DeepEqualsList(other.Alternates)); }
public void Update(FireteamResponse?other) { if (other is null) { return; } if (!Summary.DeepEquals(other.Summary)) { Summary.Update(other.Summary); OnPropertyChanged(nameof(Summary)); } if (!Members.DeepEqualsList(other.Members)) { Members = other.Members; OnPropertyChanged(nameof(Members)); } if (!Alternates.DeepEqualsList(other.Alternates)) { Alternates = other.Alternates; OnPropertyChanged(nameof(Alternates)); } }