public bool DeepEquals(DestinyCharacterRenderComponent?other) { return(other is not null && CustomDyes.DeepEqualsList(other.CustomDyes) && (Customization is not null ? Customization.DeepEquals(other.Customization) : other.Customization is null) && (PeerView is not null ? PeerView.DeepEquals(other.PeerView) : other.PeerView is null)); }
public void Update(DestinyCharacterRenderComponent?other) { if (other is null) { return; } if (!CustomDyes.DeepEqualsList(other.CustomDyes)) { CustomDyes = other.CustomDyes; OnPropertyChanged(nameof(CustomDyes)); } if (!Customization.DeepEquals(other.Customization)) { Customization.Update(other.Customization); OnPropertyChanged(nameof(Customization)); } if (!PeerView.DeepEquals(other.PeerView)) { PeerView.Update(other.PeerView); OnPropertyChanged(nameof(PeerView)); } }