Esempio n. 1
0
        public BaseEdgeId(IVertexId vertex1, IVertexId vertex2, string name)
            : this(name)
        {

            Vertex1Id = vertex1;
            Vertex2Id = vertex2;
        }
Esempio n. 2
0
 public static PBVertexId ToPBVertexId(this IVertexId id)
 {
     //# Tested
     return(new PBVertexId
     {
         Id = id.ToByteString()
     });
 }
Esempio n. 3
0
 public Int32 CompareTo(IVertexId other) =>
 this.tinkarId.CompareTo(((VertexId)other).tinkarId);