Example #1
0
        public override void Merge(ASingleReferenceEdgeType mySingleEdgeType)
        {
            var aReference = mySingleEdgeType.GetAllReferences().FirstOrDefault();

            _ObjectUUID = new Tuple<ObjectUUID, Reference>(aReference.ObjectUUID, aReference);

            CalcEstimatedSize(this);
        }
Example #2
0
 /// <summary>
 /// Merge the current value with the value of mySingleEdgeType. In detail, overwrites the ObjectUUID and make some magic with the edge informations
 /// </summary>
 /// <param name="aSingleEdgeType"></param>
 public abstract void Merge(ASingleReferenceEdgeType mySingleEdgeType);
Example #3
0
        public override void Merge(ASingleReferenceEdgeType mySingleEdgeType)
        {
            if (!(mySingleEdgeType is EdgeTypeCounted))
                throw new ArgumentException("mySingleEdgeType is not of type EdgeTypeCounted");

            var reference = mySingleEdgeType.GetAllReferences().FirstOrDefault();

            _Reference = reference;

            _Count.Add((mySingleEdgeType as EdgeTypeCounted)._Count);

            CalcEstimatedSize(this);
        }