Esempio n. 1
0
 public ReceiveConnector(ReceiveConnector rc)
 {
     this.Identity              = (ADObjectId)rc.Identity;
     this.Server                = rc.Server;
     this.TlsCertificateName    = rc.TlsCertificateName;
     this.TlsDomainCapabilities = ((rc.TlsDomainCapabilities != null && rc.TlsDomainCapabilities.Count > 0) ? rc.TlsDomainCapabilities[0] : null);
 }
Esempio n. 2
0
        public IReceiveConnector Clone(ADObjectId identity)
        {
            ReceiveConnector receiveConnector = new ReceiveConnector();

            receiveConnector.UpdateFrom(this);
            receiveConnector.Identity = identity;
            return(receiveConnector);
        }
Esempio n. 3
0
 public bool Equals(IReceiveConnector obj)
 {
     return(obj != null && string.Equals(this.Server.Name, obj.Server.Name, StringComparison.InvariantCultureIgnoreCase) && TaskCommon.AreEqual(this.TlsCertificateName, obj.TlsCertificateName) && ReceiveConnector.AreEqual(this.TlsDomainCapabilities, obj.TlsDomainCapabilities));
 }