public IEnumerable <SingleEdgeContainer> GetAllOutgoingSingleEdges(PropertyHyperGraphFilter.OutgoingSingleEdgeFilter myFilter = null) { return(_ServiceToken.VertexService.GetAllOutgoingSingleEdges(_ServiceToken.SecurityToken, _ServiceToken.TransactionToken, new ServiceVertexInstance(this)) .Select(x => new SingleEdgeContainer { PropertyID = x.EdgePropertyID.Value, Edge = new RemoteSingleEdge(x, _ServiceToken) })); }
public IEnumerable <SingleEdgeContainer> GetAllOutgoingSingleEdges( PropertyHyperGraphFilter.OutgoingSingleEdgeFilter myFilter = null) { if (OutgoingEdges != null) { foreach (var aEdge in OutgoingEdges) { var interestingEdge = aEdge.Value as ISingleEdge; if (interestingEdge == null) { continue; } if (myFilter != null) { if (myFilter(aEdge.Key, interestingEdge)) { yield return(new SingleEdgeContainer { PropertyID = aEdge.Key, Edge = interestingEdge }); } } else { yield return(new SingleEdgeContainer { PropertyID = aEdge.Key, Edge = interestingEdge }); } } } yield break; }
public IEnumerable <SingleEdgeContainer> GetAllOutgoingSingleEdges( PropertyHyperGraphFilter.OutgoingSingleEdgeFilter myFilter) { return(_Vertex.GetAllOutgoingSingleEdges(myFilter)); }
public IEnumerable <Tuple <long, ISingleEdge> > GetAllOutgoingSingleEdges(PropertyHyperGraphFilter.OutgoingSingleEdgeFilter myFilter = null) { return(_ServiceToken.VertexService.GetAllOutgoingSingleEdges(_ServiceToken.SecurityToken, _ServiceToken.TransactionToken, new ServiceVertexInstance(this)) .Select(x => new Tuple <long, ISingleEdge>(x.EdgePropertyID.Value, new RemoteSingleEdge(x, _ServiceToken)))); }
public IEnumerable <Tuple <long, ISingleEdge> > GetAllOutgoingSingleEdges( PropertyHyperGraphFilter.OutgoingSingleEdgeFilter myFilter) { return(_Vertex.GetAllOutgoingSingleEdges(myFilter)); }