コード例 #1
0
ファイル: Vertex.cs プロジェクト: slamj1/VelocityDB
 /// <summary>
 /// Gets the number of edges from or to this vertex and for the given edge type.
 /// </summary>
 /// <param name="edgeType">an EdgeType</param>
 /// <param name="dir">direction, one of: Out, In, Both</param>
 /// <returns>The number of edges.</returns>
 public long GetNumberOfEdges(EdgeType edgeType, Direction dir)
 {
     return(m_vertexType.GetNumberOfEdges(edgeType, this.VertexId, dir));
 }