Пример #1
0
        protected bool Equals(SenderConfig other)
        {
            if (MaxNumOfSmtpClients != other.MaxNumOfSmtpClients || SmtpClientConfig.Length != other.SmtpClientConfig.Length)
            {
                return(false);
            }

            return(!SmtpClientConfig.Where((t, i) => !t.Equals(other.SmtpClientConfig[i])).Any());
        }
Пример #2
0
 /// <summary>
 /// CTOR
 /// </summary>
 public Settings()
 {
     SenderConfig  = new SenderConfig();
     MessageConfig = new MessageConfig();
 }