public void Update(DestinyPostGameCarnageReportData?other) { if (other is null) { return; } if (Period != other.Period) { Period = other.Period; OnPropertyChanged(nameof(Period)); } if (StartingPhaseIndex != other.StartingPhaseIndex) { StartingPhaseIndex = other.StartingPhaseIndex; OnPropertyChanged(nameof(StartingPhaseIndex)); } if (!ActivityDetails.DeepEquals(other.ActivityDetails)) { ActivityDetails.Update(other.ActivityDetails); OnPropertyChanged(nameof(ActivityDetails)); } if (!Entries.DeepEqualsList(other.Entries)) { Entries = other.Entries; OnPropertyChanged(nameof(Entries)); } if (!Teams.DeepEqualsList(other.Teams)) { Teams = other.Teams; OnPropertyChanged(nameof(Teams)); } }
public bool DeepEquals(DestinyHistoricalStatsPeriodGroup?other) { return(other is not null && Period == other.Period && (ActivityDetails is not null ? ActivityDetails.DeepEquals(other.ActivityDetails) : other.ActivityDetails is null) && Values.DeepEqualsDictionary(other.Values)); }
public bool DeepEquals(DestinyPostGameCarnageReportData?other) { return(other is not null && Period == other.Period && StartingPhaseIndex == other.StartingPhaseIndex && (ActivityDetails is not null ? ActivityDetails.DeepEquals(other.ActivityDetails) : other.ActivityDetails is null) && Entries.DeepEqualsList(other.Entries) && Teams.DeepEqualsList(other.Teams)); }
public void Update(DestinyHistoricalStatsPeriodGroup?other) { if (other is null) { return; } if (Period != other.Period) { Period = other.Period; OnPropertyChanged(nameof(Period)); } if (!ActivityDetails.DeepEquals(other.ActivityDetails)) { ActivityDetails.Update(other.ActivityDetails); OnPropertyChanged(nameof(ActivityDetails)); } if (!Values.DeepEqualsDictionary(other.Values)) { Values = other.Values; OnPropertyChanged(nameof(Values)); } }