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);
 }
示例#3
0
 internal void InitializeFrom(PeerTransportSecuritySettings security)
 {
     if (security == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security");
     }
     this.CredentialType = security.CredentialType;
 }