public override void UnionWith(IListOrSetEdgeType myAEdgeType) { var anotherEdge = myAEdgeType as ASetOfReferencesEdgeType; if (anotherEdge != null) { foreach (var aReference in anotherEdge.GetAllReferences()) { if (!_ObjectUUIDs.ContainsKey(aReference.ObjectUUID)) { _ObjectUUIDs.Add(aReference.ObjectUUID, aReference); } } } else { throw new ArgumentException("myValue is not of type ObjectUUID"); } CalcEstimatedSize(this); }
public override void UnionWith(IListOrSetEdgeType myAListEdgeType) { _Objects = new List<ADBBaseObject>(_Objects.Union((myAListEdgeType as EdgeTypeListOfBaseObjects)._Objects)); }
public abstract void UnionWith(IListOrSetEdgeType myAListEdgeType);
public override void UnionWith(IListOrSetEdgeType myAEdgeType) { if (myAEdgeType is EdgeTypeWeighted) { foreach (var e in ((EdgeTypeWeighted)myAEdgeType).weightedSet.GetAll()) { weightedSet.Add(e.Key, e.Value); } } else { throw new ArgumentException("myAEdgeType is not of type EdgeTypeWeightedList"); } CalcEstimatedSize(this); }
public override void UnionWith(IListOrSetEdgeType myAListEdgeType) { _Objects.UnionWith((myAListEdgeType as EdgeTypeSetOfBaseObjects)._Objects); CalcEstimatedSize(this); }
public override void UnionWith(IListOrSetEdgeType myAListEdgeType) { throw new NotImplementedException(); }
public override void UnionWith(IListOrSetEdgeType myAListEdgeType) { _Objects.UnionWith((myAListEdgeType as EdgeTypeSetOfBaseObjects)._Objects); }