Esempio n. 1
0
        public bool Equals(DestinyMilestoneActivityVariant input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                     ) &&
                 (
                     CompletionStatus == input.CompletionStatus ||
                     (CompletionStatus != null && CompletionStatus.Equals(input.CompletionStatus))
                 ) &&
                 (
                     ActivityModeHash == input.ActivityModeHash ||
                     (ActivityModeHash.Equals(input.ActivityModeHash))
                 ) &&
                 (
                     ActivityModeType == input.ActivityModeType ||
                     (ActivityModeType.Equals(input.ActivityModeType))
                 ));
        }
        public bool Equals(DestinyPublicMilestoneActivity input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                     ) &&
                 (
                     ModifierHashes == input.ModifierHashes ||
                     (ModifierHashes != null && ModifierHashes.SequenceEqual(input.ModifierHashes))
                 ) &&
                 (
                     Variants == input.Variants ||
                     (Variants != null && Variants.SequenceEqual(input.Variants))
                 ) &&
                 (
                     ActivityModeHash == input.ActivityModeHash ||
                     (ActivityModeHash.Equals(input.ActivityModeHash))
                 ) &&
                 (
                     ActivityModeType == input.ActivityModeType ||
                     (ActivityModeType.Equals(input.ActivityModeType))
                 ));
        }
Esempio n. 3
0
        public bool Equals(DestinyPublicMilestoneActivityVariant input)
        {
            if (input == null) return false;

            return
                (
                    ActivityHash == input.ActivityHash ||
                    (ActivityHash.Equals(input.ActivityHash))
                ) &&
                (
                    ActivityModeHash == input.ActivityModeHash ||
                    (ActivityModeHash.Equals(input.ActivityModeHash))
                ) &&
                (
                    ActivityModeType == input.ActivityModeType ||
                    (ActivityModeType.Equals(input.ActivityModeType))
                ) ;
        }