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

            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(FileXmlLogger value)
 {
     base.CopyTo(value);
     value.Location = Location;
 }