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 DeepEquals(DestinyTalentNodeStatBlock?other) { return(other is not null && CurrentStepStats.DeepEqualsList(other.CurrentStepStats) && NextStepStats.DeepEqualsList(other.NextStepStats)); }