public bool Equals(DestinyLinkedGraphDefinition input) { if (input == null) { return(false); } return (( Description == input.Description || (Description != null && Description.Equals(input.Description)) ) && ( Name == input.Name || (Name != null && Name.Equals(input.Name)) ) && ( UnlockExpression == input.UnlockExpression || (UnlockExpression != null && UnlockExpression.Equals(input.UnlockExpression)) ) && ( LinkedGraphId == input.LinkedGraphId || (LinkedGraphId.Equals(input.LinkedGraphId)) ) && ( LinkedGraphs == input.LinkedGraphs || (LinkedGraphs != null && LinkedGraphs.SequenceEqual(input.LinkedGraphs)) ) && ( Overview == input.Overview || (Overview != null && Overview.Equals(input.Overview)) )); }
public bool DeepEquals(DestinyLinkedGraphDefinition?other) { return(other is not null && Description == other.Description && Name == other.Name && (UnlockExpression is not null ? UnlockExpression.DeepEquals(other.UnlockExpression) : other.UnlockExpression is null) && LinkedGraphId == other.LinkedGraphId && LinkedGraphs.DeepEqualsList(other.LinkedGraphs) && Overview == other.Overview); }
public void Update(DestinyActivityGraphDefinition?other) { if (other is null) { return; } if (!Nodes.DeepEqualsList(other.Nodes)) { Nodes = other.Nodes; OnPropertyChanged(nameof(Nodes)); } if (!ArtElements.DeepEqualsList(other.ArtElements)) { ArtElements = other.ArtElements; OnPropertyChanged(nameof(ArtElements)); } if (!Connections.DeepEqualsList(other.Connections)) { Connections = other.Connections; OnPropertyChanged(nameof(Connections)); } if (!DisplayObjectives.DeepEqualsList(other.DisplayObjectives)) { DisplayObjectives = other.DisplayObjectives; OnPropertyChanged(nameof(DisplayObjectives)); } if (!DisplayProgressions.DeepEqualsList(other.DisplayProgressions)) { DisplayProgressions = other.DisplayProgressions; OnPropertyChanged(nameof(DisplayProgressions)); } if (!LinkedGraphs.DeepEqualsList(other.LinkedGraphs)) { LinkedGraphs = other.LinkedGraphs; OnPropertyChanged(nameof(LinkedGraphs)); } 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)); } }
public bool DeepEquals(DestinyActivityGraphDefinition?other) { return(other is not null && Nodes.DeepEqualsList(other.Nodes) && ArtElements.DeepEqualsList(other.ArtElements) && Connections.DeepEqualsList(other.Connections) && DisplayObjectives.DeepEqualsList(other.DisplayObjectives) && DisplayProgressions.DeepEqualsList(other.DisplayProgressions) && LinkedGraphs.DeepEqualsList(other.LinkedGraphs) && Hash == other.Hash && Index == other.Index && Redacted == other.Redacted); }
public bool DeepEquals(DestinyActivityGraphDefinition other) { return(other != null && ArtElements.DeepEqualsReadOnlyCollections(other.ArtElements) && Connections.DeepEqualsReadOnlyCollections(other.Connections) && DisplayObjectives.DeepEqualsReadOnlyCollections(other.DisplayObjectives) && DisplayProgressions.DeepEqualsReadOnlyCollections(other.DisplayProgressions) && IgnoreForMilestones == other.IgnoreForMilestones && LinkedGraphs.DeepEqualsReadOnlyCollections(other.LinkedGraphs) && Nodes.DeepEqualsReadOnlyCollections(other.Nodes) && UIScreen == other.UIScreen && Blacklisted == other.Blacklisted && Hash == other.Hash && Index == other.Index && Redacted == other.Redacted); }
public bool Equals(DestinyActivityGraphDefinition input) { if (input == null) { return(false); } return (( Nodes == input.Nodes || (Nodes != null && Nodes.SequenceEqual(input.Nodes)) ) && ( ArtElements == input.ArtElements || (ArtElements != null && ArtElements.SequenceEqual(input.ArtElements)) ) && ( Connections == input.Connections || (Connections != null && Connections.SequenceEqual(input.Connections)) ) && ( DisplayObjectives == input.DisplayObjectives || (DisplayObjectives != null && DisplayObjectives.SequenceEqual(input.DisplayObjectives)) ) && ( DisplayProgressions == input.DisplayProgressions || (DisplayProgressions != null && DisplayProgressions.SequenceEqual(input.DisplayProgressions)) ) && ( LinkedGraphs == input.LinkedGraphs || (LinkedGraphs != null && LinkedGraphs.SequenceEqual(input.LinkedGraphs)) ) && ( Hash == input.Hash || (Hash.Equals(input.Hash)) ) && ( Index == input.Index || (Index.Equals(input.Index)) ) && ( Redacted == input.Redacted || (Redacted != null && Redacted.Equals(input.Redacted)) )); }
public void Update(DestinyLinkedGraphDefinition?other) { if (other is null) { return; } if (Description != other.Description) { Description = other.Description; OnPropertyChanged(nameof(Description)); } if (Name != other.Name) { Name = other.Name; OnPropertyChanged(nameof(Name)); } if (!UnlockExpression.DeepEquals(other.UnlockExpression)) { UnlockExpression.Update(other.UnlockExpression); OnPropertyChanged(nameof(UnlockExpression)); } if (LinkedGraphId != other.LinkedGraphId) { LinkedGraphId = other.LinkedGraphId; OnPropertyChanged(nameof(LinkedGraphId)); } if (!LinkedGraphs.DeepEqualsList(other.LinkedGraphs)) { LinkedGraphs = other.LinkedGraphs; OnPropertyChanged(nameof(LinkedGraphs)); } if (Overview != other.Overview) { Overview = other.Overview; OnPropertyChanged(nameof(Overview)); } }