/// <summary> /// Generates a clone of this security setting configuration. /// </summary> /// <returns></returns> public override object Clone() { FileBasedSessionCache newValue = new FileBasedSessionCache(); 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(FileBasedSessionCache value) { base.CopyTo(value); value.CachingMode = CachingMode; value.Duration = Duration; }