internal PathsResultBolt(IPath path) { Start = new PathsResultBoltNode(path.Start); End = new PathsResultBoltNode(path.End); Relationships = path.Relationships.Select(r => new PathsResultBoltRelationship(r)).ToList(); Nodes = path.Nodes.Select(r => new PathsResultBoltNode(r)).ToList(); }
public bool Equals(PathsResultBoltNode other) { if (other == null) { return(false); } return(Id == other.Id && Labels.ContentsEqual(other.Labels) && Properties.ContentsEqual(other.Properties)); }