Ejemplo n.º 1
0
 /// <summary>
 /// Get all outgoing connection from a given vertex
 /// </summary>
 /// <param name="vertexName"></param>
 /// <returns></returns>
 public async Task <IEnumerable <ConnectionInfo> > GetConnectionsFromVertexAsync(string vertexName)
 => (await _connectionTableManager.GetConnectionsFromVertex(vertexName))
 .Select(_ =>
         new ConnectionInfo(
             fromVertex: _.FromVertex,
             fromEndpoint: _.FromEndpoint,
             toVertex: _.ToVertex,
             toEndpoint: _.ToEndpoint));
Ejemplo n.º 2
0
 /// <summary>
 /// Get all outgoing connection from a given vertex
 /// </summary>
 /// <param name="vertexName"></param>
 /// <returns></returns>
 public IEnumerable <ConnectionInfo> GetConnectionsFromVertex(string vertexName)
 {
     return(_connectionTableManager.GetConnectionsFromVertex(vertexName));
 }