Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
            public bool Equals(PathsResultBoltNode other)
            {
                if (other == null)
                {
                    return(false);
                }

                return(Id == other.Id &&
                       Labels.ContentsEqual(other.Labels) &&
                       Properties.ContentsEqual(other.Properties));
            }