Beispiel #1
0
        /// <summary>
        /// Clones the collection by performing a deep copy if the elements implement <see cref="ICloneable"/>,
        /// otherwise a shallow copy is performed.
        /// </summary>
        /// <returns>A clone of this object.</returns>
        public override object Clone()
        {
            ProjectConfigurationCollection clone = new ProjectConfigurationCollection(this.Project);

            this.CloneInto(clone);
            return(clone);
        }
 /// <summary>
 /// Clones the collection by performing a deep copy if the elements implement <see cref="ICloneable"/>,
 /// otherwise a shallow copy is performed.
 /// </summary>
 /// <returns>A clone of this object.</returns>
 public override object Clone()
 {
     ProjectConfigurationCollection clone = new ProjectConfigurationCollection(this.Project);
     this.CloneInto(clone);
     return clone;
 }