public bool Equals(DestinyDisplayPropertiesDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Description == input.Description ||
                     (Description != null && Description.Equals(input.Description))
                     ) &&
                 (
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                 ) &&
                 (
                     Icon == input.Icon ||
                     (Icon != null && Icon.Equals(input.Icon))
                 ) &&
                 (
                     IconSequences == input.IconSequences ||
                     (IconSequences != null && IconSequences.SequenceEqual(input.IconSequences))
                 ) &&
                 (
                     HighResIcon == input.HighResIcon ||
                     (HighResIcon != null && HighResIcon.Equals(input.HighResIcon))
                 ) &&
                 (
                     HasIcon == input.HasIcon ||
                     (HasIcon != null && HasIcon.Equals(input.HasIcon))
                 ));
        }
Beispiel #2
0
 public bool DeepEquals(DestinyDisplayPropertiesDefinition?other)
 {
     return(other is not null &&
            Description == other.Description &&
            Name == other.Name &&
            Icon == other.Icon &&
            IconSequences.DeepEqualsList(other.IconSequences) &&
            HighResIcon == other.HighResIcon &&
            HasIcon == other.HasIcon);
 }
 public bool DeepEquals(DestinyVendorDisplayPropertiesDefinition?other)
 {
     return(other is not null &&
            LargeIcon == other.LargeIcon &&
            Subtitle == other.Subtitle &&
            OriginalIcon == other.OriginalIcon &&
            RequirementsDisplay.DeepEqualsList(other.RequirementsDisplay) &&
            SmallTransparentIcon == other.SmallTransparentIcon &&
            MapIcon == other.MapIcon &&
            LargeTransparentIcon == other.LargeTransparentIcon &&
            Description == other.Description &&
            Name == other.Name &&
            Icon == other.Icon &&
            IconSequences.DeepEqualsList(other.IconSequences) &&
            HighResIcon == other.HighResIcon &&
            HasIcon == other.HasIcon);
 }
Beispiel #4
0
 public bool DeepEquals(VendorDisplayProperties other)
 {
     return(other != null &&
            Description == other.Description &&
            HasIcon == other.HasIcon &&
            Icon == other.Icon &&
            Name == other.Name &&
            HighResolutionIcon == other.HighResolutionIcon &&
            IconSequences.DeepEqualsReadOnlyCollections(other.IconSequences) &&
            LargeIcon == other.LargeIcon &&
            LargeTransparentIcon == other.LargeTransparentIcon &&
            MapIcon == other.MapIcon &&
            OriginalIcon == other.OriginalIcon &&
            RequirementsDisplay.DeepEqualsReadOnlyCollections(other.RequirementsDisplay) &&
            SmallTransparentIcon == other.SmallTransparentIcon &&
            Subtitle == other.Subtitle);
 }
 public void Update(DestinyProgressionDisplayPropertiesDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (DisplayUnitsName != other.DisplayUnitsName)
     {
         DisplayUnitsName = other.DisplayUnitsName;
         OnPropertyChanged(nameof(DisplayUnitsName));
     }
     if (Description != other.Description)
     {
         Description = other.Description;
         OnPropertyChanged(nameof(Description));
     }
     if (Name != other.Name)
     {
         Name = other.Name;
         OnPropertyChanged(nameof(Name));
     }
     if (Icon != other.Icon)
     {
         Icon = other.Icon;
         OnPropertyChanged(nameof(Icon));
     }
     if (!IconSequences.DeepEqualsList(other.IconSequences))
     {
         IconSequences = other.IconSequences;
         OnPropertyChanged(nameof(IconSequences));
     }
     if (HighResIcon != other.HighResIcon)
     {
         HighResIcon = other.HighResIcon;
         OnPropertyChanged(nameof(HighResIcon));
     }
     if (HasIcon != other.HasIcon)
     {
         HasIcon = other.HasIcon;
         OnPropertyChanged(nameof(HasIcon));
     }
 }
 public void Update(DestinyVendorDisplayPropertiesDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (LargeIcon != other.LargeIcon)
     {
         LargeIcon = other.LargeIcon;
         OnPropertyChanged(nameof(LargeIcon));
     }
     if (Subtitle != other.Subtitle)
     {
         Subtitle = other.Subtitle;
         OnPropertyChanged(nameof(Subtitle));
     }
     if (OriginalIcon != other.OriginalIcon)
     {
         OriginalIcon = other.OriginalIcon;
         OnPropertyChanged(nameof(OriginalIcon));
     }
     if (!RequirementsDisplay.DeepEqualsList(other.RequirementsDisplay))
     {
         RequirementsDisplay = other.RequirementsDisplay;
         OnPropertyChanged(nameof(RequirementsDisplay));
     }
     if (SmallTransparentIcon != other.SmallTransparentIcon)
     {
         SmallTransparentIcon = other.SmallTransparentIcon;
         OnPropertyChanged(nameof(SmallTransparentIcon));
     }
     if (MapIcon != other.MapIcon)
     {
         MapIcon = other.MapIcon;
         OnPropertyChanged(nameof(MapIcon));
     }
     if (LargeTransparentIcon != other.LargeTransparentIcon)
     {
         LargeTransparentIcon = other.LargeTransparentIcon;
         OnPropertyChanged(nameof(LargeTransparentIcon));
     }
     if (Description != other.Description)
     {
         Description = other.Description;
         OnPropertyChanged(nameof(Description));
     }
     if (Name != other.Name)
     {
         Name = other.Name;
         OnPropertyChanged(nameof(Name));
     }
     if (Icon != other.Icon)
     {
         Icon = other.Icon;
         OnPropertyChanged(nameof(Icon));
     }
     if (!IconSequences.DeepEqualsList(other.IconSequences))
     {
         IconSequences = other.IconSequences;
         OnPropertyChanged(nameof(IconSequences));
     }
     if (HighResIcon != other.HighResIcon)
     {
         HighResIcon = other.HighResIcon;
         OnPropertyChanged(nameof(HighResIcon));
     }
     if (HasIcon != other.HasIcon)
     {
         HasIcon = other.HasIcon;
         OnPropertyChanged(nameof(HasIcon));
     }
 }
        public bool Equals(DestinyVendorDisplayPropertiesDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     LargeIcon == input.LargeIcon ||
                     (LargeIcon != null && LargeIcon.Equals(input.LargeIcon))
                     ) &&
                 (
                     Subtitle == input.Subtitle ||
                     (Subtitle != null && Subtitle.Equals(input.Subtitle))
                 ) &&
                 (
                     OriginalIcon == input.OriginalIcon ||
                     (OriginalIcon != null && OriginalIcon.Equals(input.OriginalIcon))
                 ) &&
                 (
                     RequirementsDisplay == input.RequirementsDisplay ||
                     (RequirementsDisplay != null && RequirementsDisplay.SequenceEqual(input.RequirementsDisplay))
                 ) &&
                 (
                     SmallTransparentIcon == input.SmallTransparentIcon ||
                     (SmallTransparentIcon != null && SmallTransparentIcon.Equals(input.SmallTransparentIcon))
                 ) &&
                 (
                     MapIcon == input.MapIcon ||
                     (MapIcon != null && MapIcon.Equals(input.MapIcon))
                 ) &&
                 (
                     LargeTransparentIcon == input.LargeTransparentIcon ||
                     (LargeTransparentIcon != null && LargeTransparentIcon.Equals(input.LargeTransparentIcon))
                 ) &&
                 (
                     Description == input.Description ||
                     (Description != null && Description.Equals(input.Description))
                 ) &&
                 (
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                 ) &&
                 (
                     Icon == input.Icon ||
                     (Icon != null && Icon.Equals(input.Icon))
                 ) &&
                 (
                     IconSequences == input.IconSequences ||
                     (IconSequences != null && IconSequences.SequenceEqual(input.IconSequences))
                 ) &&
                 (
                     HighResIcon == input.HighResIcon ||
                     (HighResIcon != null && HighResIcon.Equals(input.HighResIcon))
                 ) &&
                 (
                     HasIcon == input.HasIcon ||
                     (HasIcon != null && HasIcon.Equals(input.HasIcon))
                 ));
        }