Exemplo n.º 1
0
        public object Clone()
        {
            //First we create an instance of this specific type.

            CTIContextCollection newObject = new CTIContextCollection();

            for (int i = 0; i < this.Count; i++)
            {
                newObject.Add((CTIContext)this[i].Clone());
            }

            return(newObject);
        }
Exemplo n.º 2
0
 public CTIContextCollectionPropertyDescriptor(CTIContextCollection coll, int idx)
     : base("#" + idx.ToString(), null)
 {
     this.collection = coll;
     this.index = idx;
 }
Exemplo n.º 3
0
        public object Clone()
        {
            //First we create an instance of this specific type.

            CTIContextCollection newObject = new CTIContextCollection();

            for (int i = 0; i < this.Count; i++)
            {
                newObject.Add((CTIContext)this[i].Clone());
            }

            return newObject;
        }
Exemplo n.º 4
0
 public CTIContextCollectionPropertyDescriptor(CTIContextCollection coll, int idx)
     : base("#" + idx.ToString(), null)
 {
     this.collection = coll;
     this.index      = idx;
 }