internal void ApplyConfiguration(PeerTransportSecuritySettings security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } security.CredentialType = this.CredentialType; }
internal void InitializeFrom(PeerTransportSecuritySettings security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PeerTransportCredentialType, security.CredentialType); }
internal void InitializeFrom(PeerTransportSecuritySettings security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } this.CredentialType = security.CredentialType; }