public override bool Equals(object obj) { var other = obj as SetNode; if (other == null) { return(false); } return(SetType.Equals(other.SetType) && ListsAreEqual(FileGlobs, other.FileGlobs)); }
public bool Equals(DestinyItemSetBlockDefinition input) { if (input == null) { return(false); } return (( ItemList == input.ItemList || (ItemList != null && ItemList.SequenceEqual(input.ItemList)) ) && ( RequireOrderedSetItemAdd == input.RequireOrderedSetItemAdd || (RequireOrderedSetItemAdd != null && RequireOrderedSetItemAdd.Equals(input.RequireOrderedSetItemAdd)) ) && ( SetIsFeatured == input.SetIsFeatured || (SetIsFeatured != null && SetIsFeatured.Equals(input.SetIsFeatured)) ) && ( SetType == input.SetType || (SetType != null && SetType.Equals(input.SetType)) ) && ( QuestLineName == input.QuestLineName || (QuestLineName != null && QuestLineName.Equals(input.QuestLineName)) ) && ( QuestLineDescription == input.QuestLineDescription || (QuestLineDescription != null && QuestLineDescription.Equals(input.QuestLineDescription)) ) && ( QuestStepSummary == input.QuestStepSummary || (QuestStepSummary != null && QuestStepSummary.Equals(input.QuestStepSummary)) )); }