コード例 #1
0
 internal void CopyFrom(PeerTransportSecurityElement security)
 {
     if (security == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security");
     }
     this.CredentialType = security.CredentialType;
 }
 internal void CopyFrom(PeerTransportSecurityElement security)
 {
     if (security == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security");
     }
     this.CredentialType = security.CredentialType;
 }
コード例 #3
0
 internal PeerTransportSecuritySettings(PeerTransportSecurityElement element)
 {
     credentialType = element.CredentialType;
 }