internal void CopyFrom(LocalServiceSecuritySettingsElement source)
 {
     if (source == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("source");
     }
     if (source.ElementInformation.Properties["detectReplays"].ValueOrigin != PropertyValueOrigin.Default)
     {
         this.DetectReplays = source.DetectReplays;
     }
     this.IssuedCookieLifetime        = source.IssuedCookieLifetime;
     this.MaxClockSkew                = source.MaxClockSkew;
     this.MaxPendingSessions          = source.MaxPendingSessions;
     this.MaxStatefulNegotiations     = source.MaxStatefulNegotiations;
     this.NegotiationTimeout          = source.NegotiationTimeout;
     this.ReconnectTransportOnFailure = source.ReconnectTransportOnFailure;
     this.ReplayCacheSize             = source.ReplayCacheSize;
     this.ReplayWindow                = source.ReplayWindow;
     this.SessionKeyRenewalInterval   = source.SessionKeyRenewalInterval;
     this.SessionKeyRolloverInterval  = source.SessionKeyRolloverInterval;
     this.InactivityTimeout           = source.InactivityTimeout;
     this.TimestampValidityDuration   = source.TimestampValidityDuration;
     this.MaxCachedCookies            = source.MaxCachedCookies;
 }
 internal void CopyFrom(LocalServiceSecuritySettingsElement source)
 {
     if (source == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("source");
     }
     if (source.ElementInformation.Properties["detectReplays"].ValueOrigin != PropertyValueOrigin.Default)
     {
         this.DetectReplays = source.DetectReplays;
     }
     this.IssuedCookieLifetime = source.IssuedCookieLifetime;
     this.MaxClockSkew = source.MaxClockSkew;
     this.MaxPendingSessions = source.MaxPendingSessions;
     this.MaxStatefulNegotiations = source.MaxStatefulNegotiations;
     this.NegotiationTimeout = source.NegotiationTimeout;
     this.ReconnectTransportOnFailure = source.ReconnectTransportOnFailure;
     this.ReplayCacheSize = source.ReplayCacheSize;
     this.ReplayWindow = source.ReplayWindow;
     this.SessionKeyRenewalInterval = source.SessionKeyRenewalInterval;
     this.SessionKeyRolloverInterval = source.SessionKeyRolloverInterval;
     this.InactivityTimeout = source.InactivityTimeout;
     this.TimestampValidityDuration = source.TimestampValidityDuration;
     this.MaxCachedCookies = source.MaxCachedCookies;
 }