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(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));
 }
Beispiel #3
0
 public bool DeepEquals(DestinyChecklistDefinition?other)
 {
     return(other is not null &&
            (DisplayProperties is not null ? DisplayProperties.DeepEquals(other.DisplayProperties) : other.DisplayProperties is null) &&
            ViewActionString == other.ViewActionString &&
            Scope == other.Scope &&
            Entries.DeepEqualsList(other.Entries) &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
Beispiel #4
0
 public void Update(DestinyChecklistDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (!DisplayProperties.DeepEquals(other.DisplayProperties))
     {
         DisplayProperties.Update(other.DisplayProperties);
         OnPropertyChanged(nameof(DisplayProperties));
     }
     if (ViewActionString != other.ViewActionString)
     {
         ViewActionString = other.ViewActionString;
         OnPropertyChanged(nameof(ViewActionString));
     }
     if (Scope != other.Scope)
     {
         Scope = other.Scope;
         OnPropertyChanged(nameof(Scope));
     }
     if (!Entries.DeepEqualsList(other.Entries))
     {
         Entries = other.Entries;
         OnPropertyChanged(nameof(Entries));
     }
     if (Hash != other.Hash)
     {
         Hash = other.Hash;
         OnPropertyChanged(nameof(Hash));
     }
     if (Index != other.Index)
     {
         Index = other.Index;
         OnPropertyChanged(nameof(Index));
     }
     if (Redacted != other.Redacted)
     {
         Redacted = other.Redacted;
         OnPropertyChanged(nameof(Redacted));
     }
 }