Exemplo n.º 1
0
        public virtual void copyFrom(TypedHashtable src)
        {
            this.Clear();

            for (int i = 0; i < src.Count; i++)
            {
                this.Add(src.Names[i], src[i]);
                this.types[i] = src.Types2[i];
            }
        }
Exemplo n.º 2
0
        public override OrderedHashtable copy()
        {
            TypedHashtable dest = (TypedHashtable)base.copy();


            foreach (string key in Names)
            {
                dest.types.Add(key, types[key]);
            }


            return(dest);
        }