示例#1
0
        public ObjectReferencesCollection Clone()
        {
            ObjectReferencesCollection dcRefsCopy = new ObjectReferencesCollection();

            for (int i = 0; i < _refs.Count; i++)
            {
                ObjectReferenceBase refCopy = this[i].Clone();
                dcRefsCopy.Add(refCopy);
            }
            return(dcRefsCopy);
        }
示例#2
0
 public void Add(ObjectReferenceBase objRef)
 {
     _refs.Add(objRef);
 }