Пример #1
0
        public bool Equals(DestinyLocationReleaseDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     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))
                 ) &&
                 (
                     SpawnPoint == input.SpawnPoint ||
                     (SpawnPoint.Equals(input.SpawnPoint))
                 ) &&
                 (
                     DestinationHash == input.DestinationHash ||
                     (DestinationHash.Equals(input.DestinationHash))
                 ) &&
                 (
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                 ) &&
                 (
                     ActivityGraphHash == input.ActivityGraphHash ||
                     (ActivityGraphHash.Equals(input.ActivityGraphHash))
                 ) &&
                 (
                     ActivityGraphNodeHash == input.ActivityGraphNodeHash ||
                     (ActivityGraphNodeHash.Equals(input.ActivityGraphNodeHash))
                 ) &&
                 (
                     ActivityBubbleName == input.ActivityBubbleName ||
                     (ActivityBubbleName.Equals(input.ActivityBubbleName))
                 ) &&
                 (
                     ActivityPathBundle == input.ActivityPathBundle ||
                     (ActivityPathBundle.Equals(input.ActivityPathBundle))
                 ) &&
                 (
                     ActivityPathDestination == input.ActivityPathDestination ||
                     (ActivityPathDestination.Equals(input.ActivityPathDestination))
                 ) &&
                 (
                     NavPointType == input.NavPointType ||
                     (NavPointType != null && NavPointType.Equals(input.NavPointType))
                 ) &&
                 (
                     WorldPosition == input.WorldPosition ||
                     (WorldPosition != null && WorldPosition.SequenceEqual(input.WorldPosition))
                 ));
        }
        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))
                 ));
        }