/// <summary>
        /// Creates a new object that is a copy of the current instance.
        /// </summary>
        /// <returns>
        /// A new object that is a copy of this instance.
        /// </returns>
        /// <filterpriority>2</filterpriority>
        public object Clone()
        {
            var copy = new TokenisedCommand(_controlFileGlobalDefaults);

            XmlSerializationHelper.CloneUsingXmlSerialization("postdownloadcommand", this, copy);
            return(copy);
        }
Esempio n. 2
0
        /// <summary>
        /// Creates a new object that is a copy of the current instance.
        /// </summary>
        /// <returns>
        /// A new object that is a copy of this instance.
        /// </returns>
        /// <filterpriority>2</filterpriority>
        public object Clone()
        {
            var copy = new ReadWriteControlFile();

            XmlSerializationHelper.CloneUsingXmlSerialization("podcasts", this, copy);
            return(copy);
        }
Esempio n. 3
0
        /// <summary>
        /// Creates a new object that is a copy of the current instance.
        /// </summary>
        /// <returns>
        /// A new object that is a copy of this instance.
        /// </returns>
        /// <filterpriority>2</filterpriority>
        public object Clone()
        {
            var copy = new FeedInfo(_controlFileGlobalDefaults);

            XmlSerializationHelper.CloneUsingXmlSerialization("feed", this, copy);
            return(copy);
        }