Exemplo n.º 1
0
        public object Clone()
        {
            JobArgumentCollection clonedCollection = new JobArgumentCollection();

            foreach (string arg in this)
            {
                clonedCollection.Add(arg);
            }

            return(clonedCollection);
        }
Exemplo n.º 2
0
        public object Clone()
        {
            JobArgumentCollection clonedCollection = new JobArgumentCollection();

            foreach (string key in Keys)
            {
                clonedCollection.Add(key, this[key]);
            }

            return(clonedCollection);
        }