public bool Equals(DestinyRecordComponent input) { if (input == null) { return(false); } return (( State == input.State || (State != null && State.Equals(input.State)) ) && ( Objectives == input.Objectives || (Objectives != null && Objectives.SequenceEqual(input.Objectives)) ) && ( IntervalObjectives == input.IntervalObjectives || (IntervalObjectives != null && IntervalObjectives.SequenceEqual(input.IntervalObjectives)) ) && ( IntervalsRedeemedCount == input.IntervalsRedeemedCount || (IntervalsRedeemedCount.Equals(input.IntervalsRedeemedCount)) ) && ( CompletedCount == input.CompletedCount || (CompletedCount.Equals(input.CompletedCount)) ) && ( RewardVisibilty == input.RewardVisibilty || (RewardVisibilty != null && RewardVisibilty.SequenceEqual(input.RewardVisibilty)) )); }
public bool Equals(DestinyRecordIntervalBlock input) { if (input == null) { return(false); } return (( IntervalObjectives == input.IntervalObjectives || (IntervalObjectives != null && IntervalObjectives.SequenceEqual(input.IntervalObjectives)) ) && ( IntervalRewards == input.IntervalRewards || (IntervalRewards != null && IntervalRewards.SequenceEqual(input.IntervalRewards)) ) && ( OriginalObjectiveArrayInsertionIndex == input.OriginalObjectiveArrayInsertionIndex || (OriginalObjectiveArrayInsertionIndex.Equals(input.OriginalObjectiveArrayInsertionIndex)) )); }