/// <summary> /// Get all incoming connections to a given vertex /// </summary> /// <param name="vertexName"></param> /// <returns></returns> public async Task <IEnumerable <ConnectionInfo> > GetConnectionsToVertexAsync(string vertexName) => (await _connectionTableManager.GetConnectionsToVertex(vertexName)) .Select(_ => new ConnectionInfo( fromVertex: _.FromVertex, fromEndpoint: _.FromEndpoint, toVertex: _.ToVertex, toEndpoint: _.ToEndpoint));
/// <summary> /// Get all incoming connections to a given vertex /// </summary> /// <param name="vertexName"></param> /// <returns></returns> public IEnumerable <ConnectionInfo> GetConnectionsToVertex(string vertexName) { return(_connectionTableManager.GetConnectionsToVertex(vertexName)); }