public bool DeepEquals(DestinyRecordIntervalBlock?other) { return(other is not null && IntervalObjectives.DeepEqualsList(other.IntervalObjectives) && IntervalRewards.DeepEqualsList(other.IntervalRewards) && OriginalObjectiveArrayInsertionIndex == other.OriginalObjectiveArrayInsertionIndex); }
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 DeepEquals(RecordIntervalInfo other) { return(other != null && IntervalObjectives.DeepEqualsReadOnlyCollections(other.IntervalObjectives) && IntervalRewards.DeepEqualsReadOnlyCollections(other.IntervalRewards) && IsIntervalVersionedFromNormalRecord == other.IsIntervalVersionedFromNormalRecord && OriginalObjectiveArrayInsertionIndex == other.OriginalObjectiveArrayInsertionIndex); }
public bool DeepEquals(DestinyRecordComponent?other) { return(other is not null && State == other.State && Objectives.DeepEqualsList(other.Objectives) && IntervalObjectives.DeepEqualsList(other.IntervalObjectives) && IntervalsRedeemedCount == other.IntervalsRedeemedCount && CompletedCount == other.CompletedCount && RewardVisibilty.DeepEqualsListNaive(other.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)) )); }
public void Update(DestinyRecordIntervalBlock?other) { if (other is null) { return; } if (!IntervalObjectives.DeepEqualsList(other.IntervalObjectives)) { IntervalObjectives = other.IntervalObjectives; OnPropertyChanged(nameof(IntervalObjectives)); } if (!IntervalRewards.DeepEqualsList(other.IntervalRewards)) { IntervalRewards = other.IntervalRewards; OnPropertyChanged(nameof(IntervalRewards)); } if (OriginalObjectiveArrayInsertionIndex != other.OriginalObjectiveArrayInsertionIndex) { OriginalObjectiveArrayInsertionIndex = other.OriginalObjectiveArrayInsertionIndex; OnPropertyChanged(nameof(OriginalObjectiveArrayInsertionIndex)); } }
public void Update(DestinyRecordComponent?other) { if (other is null) { return; } if (State != other.State) { State = other.State; OnPropertyChanged(nameof(State)); } if (!Objectives.DeepEqualsList(other.Objectives)) { Objectives = other.Objectives; OnPropertyChanged(nameof(Objectives)); } if (!IntervalObjectives.DeepEqualsList(other.IntervalObjectives)) { IntervalObjectives = other.IntervalObjectives; OnPropertyChanged(nameof(IntervalObjectives)); } if (IntervalsRedeemedCount != other.IntervalsRedeemedCount) { IntervalsRedeemedCount = other.IntervalsRedeemedCount; OnPropertyChanged(nameof(IntervalsRedeemedCount)); } if (CompletedCount != other.CompletedCount) { CompletedCount = other.CompletedCount; OnPropertyChanged(nameof(CompletedCount)); } if (!RewardVisibilty.DeepEqualsListNaive(other.RewardVisibilty)) { RewardVisibilty = other.RewardVisibilty; OnPropertyChanged(nameof(RewardVisibilty)); } }