/// <inheritdoc/> public override bool Equals(AbstractNodeEntry other) { if (other is AbstractNodeTypeGroup otherGroup) { return(GroupName == otherGroup.GroupName && Types.SequenceEqual(otherGroup.Types)); } return(false); }
/// <inheritdoc/> public override bool Equals(AbstractNodeEntry other) { var abstractNodeType = other as AbstractNodeType; if (abstractNodeType == null) { return(false); } return(Type == abstractNodeType.Type); }
/// <inheritdoc/> public override bool Equals(AbstractNodeEntry other) { var abstractNodeValue = other as AbstractNodeValue; if (abstractNodeValue == null) { return(false); } return(Equals(Value, abstractNodeValue.Value)); }