public IEnumerable <BinaryPropertyContainer> GetAllBinaryProperties(PropertyHyperGraphFilter.BinaryPropertyFilter myFilter = null) { if (_binaryProperties != null) { foreach (var aBinary in _binaryProperties) { if (myFilter != null) { if (myFilter(aBinary.Key, aBinary.Value)) { yield return(new BinaryPropertyContainer { PropertyID = aBinary.Key, BinaryPropery = aBinary.Value }); } } else { yield return(new BinaryPropertyContainer { PropertyID = aBinary.Key, BinaryPropery = aBinary.Value }); } } } yield break; }
public IEnumerable <Tuple <long, Stream> > GetAllBinaryProperties(PropertyHyperGraphFilter.BinaryPropertyFilter myFilter = null) { if (_binaryProperties != null) { foreach (var aBinary in _binaryProperties) { if (myFilter != null) { if (myFilter(aBinary.Key, aBinary.Value)) { yield return(new Tuple <long, Stream>(aBinary.Key, aBinary.Value)); } } else { yield return(new Tuple <long, Stream>(aBinary.Key, aBinary.Value)); } } } yield break; }
public IEnumerable <BinaryPropertyContainer> GetAllBinaryProperties( PropertyHyperGraphFilter.BinaryPropertyFilter myFilter) { return(_Vertex.GetAllBinaryProperties(myFilter)); }
public IEnumerable <BinaryPropertyContainer> GetAllBinaryProperties(PropertyHyperGraphFilter.BinaryPropertyFilter myFilter = null) { return(_ServiceToken.StreamedService.GetAllBinaryProperties(_ServiceToken.SecurityToken, _ServiceToken.TransactionToken, new ServiceVertexInstance(this)).Select(_ => new BinaryPropertyContainer { PropertyID = _.PropertyID, BinaryPropery = _.BinaryPropery }).ToList()); }
public IEnumerable <Tuple <long, Stream> > GetAllBinaryProperties(PropertyHyperGraphFilter.BinaryPropertyFilter myFilter = null) { return(_ServiceToken.StreamedService.GetAllBinaryProperties(_ServiceToken.SecurityToken, _ServiceToken.TransactionToken, new ServiceVertexInstance(this)).ToList()); }
public IEnumerable <Tuple <long, System.IO.Stream> > GetAllBinaryProperties( PropertyHyperGraphFilter.BinaryPropertyFilter myFilter) { return(_Vertex.GetAllBinaryProperties(myFilter)); }