Exemple #1
0
        public object Clone()
        {
            //First we create an instance of this specific type.

            CTIOutboundContextCollection newObject = new CTIOutboundContextCollection();


            for (int i = 0; i < this.Count; i++)
            {
                newObject.Add((CTIOutboundContext)this[i].Clone());
            }
            return(newObject);
        }
 public CTIOutboundContextCollectionPropertyDescriptor(CTIOutboundContextCollection coll, int idx)
     : base("#" + idx.ToString(), null)
 {
     this.collection = coll;
     this.index = idx;
 }
        public object Clone()
        {
            //First we create an instance of this specific type.

            CTIOutboundContextCollection newObject = new CTIOutboundContextCollection();

            for (int i = 0; i < this.Count; i++)
            {
                newObject.Add((CTIOutboundContext)this[i].Clone());
            }
            return newObject;
        }
Exemple #4
0
 public CTIOutboundContextCollectionPropertyDescriptor(CTIOutboundContextCollection coll, int idx)
     : base("#" + idx.ToString(), null)
 {
     this.collection = coll;
     this.index      = idx;
 }