public void Update(DestinyItemValueBlockDefinition?other) { if (other is null) { return; } if (!ItemValue.DeepEqualsList(other.ItemValue)) { ItemValue = other.ItemValue; OnPropertyChanged(nameof(ItemValue)); } if (ValueDescription != other.ValueDescription) { ValueDescription = other.ValueDescription; OnPropertyChanged(nameof(ValueDescription)); } }
public bool DeepEquals(DestinyItemValueBlockDefinition?other) { return(other is not null && ItemValue.DeepEqualsList(other.ItemValue) && ValueDescription == other.ValueDescription); }