public bool DeepEquals(DestinyReportOffensePgcrRequest?other) { return(other is not null && ReasonCategoryHashes.DeepEqualsListNaive(other.ReasonCategoryHashes) && ReasonHashes.DeepEqualsListNaive(other.ReasonHashes) && OffendingCharacterId == other.OffendingCharacterId); }
public void Update(DestinyReportOffensePgcrRequest?other) { if (other is null) { return; } if (!ReasonCategoryHashes.DeepEqualsListNaive(other.ReasonCategoryHashes)) { ReasonCategoryHashes = other.ReasonCategoryHashes; OnPropertyChanged(nameof(ReasonCategoryHashes)); } if (!ReasonHashes.DeepEqualsListNaive(other.ReasonHashes)) { ReasonHashes = other.ReasonHashes; OnPropertyChanged(nameof(ReasonHashes)); } if (OffendingCharacterId != other.OffendingCharacterId) { OffendingCharacterId = other.OffendingCharacterId; OnPropertyChanged(nameof(OffendingCharacterId)); } }