Exemplo n.º 1
0
        public IdEdge(IEdge baseEdge, IdGraph idInnerTinkerGrapĥ)
            : base(baseEdge, idInnerTinkerGrapĥ, idInnerTinkerGrapĥ.GetSupportEdgeIds())
        {
            if (baseEdge == null)
            {
                throw new ArgumentNullException(nameof(baseEdge));
            }
            if (idInnerTinkerGrapĥ == null)
            {
                throw new ArgumentNullException(nameof(idInnerTinkerGrapĥ));
            }

            _baseEdge = baseEdge;
        }
Exemplo n.º 2
0
        public IdEdgeIterable(IEnumerable <IElement> iterable, IdGraph idGraph)
        {
            if (iterable == null)
            {
                throw new ArgumentNullException(nameof(iterable));
            }
            if (idGraph == null)
            {
                throw new ArgumentNullException(nameof(idGraph));
            }

            _iterable = iterable;
            _idGraph  = idGraph;
        }
Exemplo n.º 3
0
        public IdEdgeIndex(IIndex baseIndex, IdGraph idGraph)
        {
            if (baseIndex == null)
            {
                throw new ArgumentNullException(nameof(baseIndex));
            }
            if (idGraph == null)
            {
                throw new ArgumentNullException(nameof(idGraph));
            }

            IdGraph   = idGraph;
            BaseIndex = baseIndex;
        }
Exemplo n.º 4
0
        public IdVertex(IVertex baseVertex, IdGraph idInnerTinkerGrapĥ)
            : base(baseVertex, idInnerTinkerGrapĥ, idInnerTinkerGrapĥ.GetSupportVertexIds())
        {
            if (baseVertex == null)
            {
                throw new ArgumentNullException(nameof(baseVertex));
            }
            if (idInnerTinkerGrapĥ == null)
            {
                throw new ArgumentNullException(nameof(idInnerTinkerGrapĥ));
            }

            _baseVertex = baseVertex;
        }
Exemplo n.º 5
0
        protected IdElement(IElement baseElement, IdGraph idInnerTinkerGrapĥ, bool propertyBased) : base(idInnerTinkerGrapĥ)
        {
            if (baseElement == null)
            {
                throw new ArgumentNullException(nameof(baseElement));
            }
            if (idInnerTinkerGrapĥ == null)
            {
                throw new ArgumentNullException(nameof(idInnerTinkerGrapĥ));
            }

            BaseElement        = baseElement;
            IdInnerTinkerGrapĥ = idInnerTinkerGrapĥ;
            PropertyBased      = propertyBased;
        }