Exemplo n.º 1
0
 public bool DeepEquals(DestinyReportOffensePgcrRequest?other)
 {
     return(other is not null &&
            ReasonCategoryHashes.DeepEqualsListNaive(other.ReasonCategoryHashes) &&
            ReasonHashes.DeepEqualsListNaive(other.ReasonHashes) &&
            OffendingCharacterId == other.OffendingCharacterId);
 }
Exemplo n.º 2
0
 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));
     }
 }