public void Update(DestinyMilestoneChallengeActivityDefinition?other) { if (other is null) { return; } if (ActivityHash != other.ActivityHash) { ActivityHash = other.ActivityHash; OnPropertyChanged(nameof(ActivityHash)); } if (!Challenges.DeepEqualsList(other.Challenges)) { Challenges = other.Challenges; OnPropertyChanged(nameof(Challenges)); } if (!ActivityGraphNodes.DeepEqualsList(other.ActivityGraphNodes)) { ActivityGraphNodes = other.ActivityGraphNodes; OnPropertyChanged(nameof(ActivityGraphNodes)); } if (!Phases.DeepEqualsList(other.Phases)) { Phases = other.Phases; OnPropertyChanged(nameof(Phases)); } }
public bool Equals(DestinyMilestoneChallengeActivityDefinition input) { if (input == null) { return(false); } return (( ActivityHash == input.ActivityHash || (ActivityHash.Equals(input.ActivityHash)) ) && ( Challenges == input.Challenges || (Challenges != null && Challenges.SequenceEqual(input.Challenges)) ) && ( ActivityGraphNodes == input.ActivityGraphNodes || (ActivityGraphNodes != null && ActivityGraphNodes.SequenceEqual(input.ActivityGraphNodes)) ) && ( Phases == input.Phases || (Phases != null && Phases.SequenceEqual(input.Phases)) )); }
public bool DeepEquals(DestinyMilestoneChallengeActivityDefinition?other) { return(other is not null && ActivityHash == other.ActivityHash && Challenges.DeepEqualsList(other.Challenges) && ActivityGraphNodes.DeepEqualsList(other.ActivityGraphNodes) && Phases.DeepEqualsList(other.Phases)); }
public bool DeepEquals(MilestoneActivities other) { return(other != null && ActivityGraphNodes.DeepEqualsReadOnlyCollections(other.ActivityGraphNodes) && Activity.DeepEquals(other.Activity) && Challenges.DeepEqualsReadOnlyCollections(other.Challenges) && Phases.DeepEqualsReadOnlyCollections(other.Phases)); }