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()); }
/// <summary> /// CTOR /// </summary> public Settings() { SenderConfig = new SenderConfig(); MessageConfig = new MessageConfig(); }