Пример #1
0
 public void Update(DestinyParentItemOverride?other)
 {
     if (other is null)
     {
         return;
     }
     if (!AdditionalEquipRequirementsDisplayStrings.DeepEqualsListNaive(other.AdditionalEquipRequirementsDisplayStrings))
     {
         AdditionalEquipRequirementsDisplayStrings = other.AdditionalEquipRequirementsDisplayStrings;
         OnPropertyChanged(nameof(AdditionalEquipRequirementsDisplayStrings));
     }
     if (PipIcon != other.PipIcon)
     {
         PipIcon = other.PipIcon;
         OnPropertyChanged(nameof(PipIcon));
     }
 }
Пример #2
0
 public bool DeepEquals(DestinyParentItemOverride?other)
 {
     return(other is not null &&
            AdditionalEquipRequirementsDisplayStrings.DeepEqualsListNaive(other.AdditionalEquipRequirementsDisplayStrings) &&
            PipIcon == other.PipIcon);
 }