public void Update(DestinyTalentNodeStatBlock?other) { if (other is null) { return; } if (!CurrentStepStats.DeepEqualsList(other.CurrentStepStats)) { CurrentStepStats = other.CurrentStepStats; OnPropertyChanged(nameof(CurrentStepStats)); } if (!NextStepStats.DeepEqualsList(other.NextStepStats)) { NextStepStats = other.NextStepStats; OnPropertyChanged(nameof(NextStepStats)); } }
public bool Equals(DestinyTalentNodeStatBlock input) { if (input == null) { return(false); } return (( CurrentStepStats == input.CurrentStepStats || (CurrentStepStats != null && CurrentStepStats.SequenceEqual(input.CurrentStepStats)) ) && ( NextStepStats == input.NextStepStats || (NextStepStats != null && NextStepStats.SequenceEqual(input.NextStepStats)) )); }
public bool DeepEquals(DestinyTalentNodeStatBlock?other) { return(other is not null && CurrentStepStats.DeepEqualsList(other.CurrentStepStats) && NextStepStats.DeepEqualsList(other.NextStepStats)); }