Esempio n. 1
0
 public bool Equals(ProtocolConnectionSettings settings)
 {
     return(settings != null && (this.hostname.Equals(settings.hostname) && this.port == settings.port) && this.encryptionType == settings.encryptionType);
 }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            ProtocolConnectionSettings protocolConnectionSettings = obj as ProtocolConnectionSettings;

            return(protocolConnectionSettings != null && this.Equals(protocolConnectionSettings));
        }