예제 #1
0
        public bool Equals(DestinyPostGameCarnageReportData input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Period == input.Period ||
                     (Period != null && Period.Equals(input.Period))
                     ) &&
                 (
                     StartingPhaseIndex == input.StartingPhaseIndex ||
                     (StartingPhaseIndex.Equals(input.StartingPhaseIndex))
                 ) &&
                 (
                     ActivityDetails == input.ActivityDetails ||
                     (ActivityDetails != null && ActivityDetails.Equals(input.ActivityDetails))
                 ) &&
                 (
                     Entries == input.Entries ||
                     (Entries != null && Entries.SequenceEqual(input.Entries))
                 ) &&
                 (
                     Teams == input.Teams ||
                     (Teams != null && Teams.SequenceEqual(input.Teams))
                 ));
        }
        public bool Equals(DestinyHistoricalStatsPeriodGroup input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Period == input.Period ||
                     (Period != null && Period.Equals(input.Period))
                     ) &&
                 (
                     ActivityDetails == input.ActivityDetails ||
                     (ActivityDetails != null && ActivityDetails.Equals(input.ActivityDetails))
                 ) &&
                 (
                     Values == input.Values ||
                     (Values != null && Values.SequenceEqual(input.Values))
                 ));
        }