Exemplo n.º 1
0
        /// <summary>
        /// Generates a clone of this security setting configuration.
        /// </summary>
        /// <returns></returns>
        public override object Clone()
        {
            FileXmlReader newValue = new FileXmlReader();

            CopyTo(newValue);
            newValue.Location = Location;
            return(newValue);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Copies the settings to another instance of this class.
 /// </summary>
 /// <param name="value">The target instance.</param>
 protected virtual void CopyTo(FileXmlReader value)
 {
     base.CopyTo(value);
     value.Location = Location;
 }