/// <summary>
        /// Generates a clone of this security setting configuration.
        /// </summary>
        /// <returns></returns>
        public override object Clone()
        {
            InMemorySessionCache newValue = new InMemorySessionCache();

            CopyTo(newValue);
            return(newValue);
        }
 /// <summary>
 /// Copies the settings to another instance of this class.
 /// </summary>
 /// <param name="value">The target instance.</param>
 protected virtual void CopyTo(InMemorySessionCache value)
 {
     base.CopyTo(value);
     value.CachingMode = CachingMode;
     value.Duration    = Duration;
 }