Exemple #1
0
        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;
        }
Exemple #2
0
        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;
        }
Exemple #3
0
 public IEnumerable <BinaryPropertyContainer> GetAllBinaryProperties(
     PropertyHyperGraphFilter.BinaryPropertyFilter myFilter)
 {
     return(_Vertex.GetAllBinaryProperties(myFilter));
 }
Exemple #4
0
 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());
 }
Exemple #5
0
 public IEnumerable <Tuple <long, Stream> > GetAllBinaryProperties(PropertyHyperGraphFilter.BinaryPropertyFilter myFilter = null)
 {
     return(_ServiceToken.StreamedService.GetAllBinaryProperties(_ServiceToken.SecurityToken, _ServiceToken.TransactionToken, new ServiceVertexInstance(this)).ToList());
 }
Exemple #6
0
 public IEnumerable <Tuple <long, System.IO.Stream> > GetAllBinaryProperties(
     PropertyHyperGraphFilter.BinaryPropertyFilter myFilter)
 {
     return(_Vertex.GetAllBinaryProperties(myFilter));
 }