internal SectionBase(MailmanList list) { _list = list ?? throw new ArgumentNullException("list"); if (!_propsDict.ContainsKey(this.GetType())) { _propsDict[this.GetType()] = this.GetType().GetProperties(); } // Start with path on the class var basePath = GetPathValue(this.GetType().GetCustomAttributes(false)); // Now see if we have subpaths on properties foreach (var prop in _props) { var subPath = GetPathValue(prop.GetCustomAttributes(false)); if (subPath != null) { _paths.Add(String.Format("{0}/{1}", basePath, subPath)); } } if (!_paths.Any()) { _paths.Add(basePath); } }
internal MailmanClient(MailmanList list) { if (list == null) throw new ArgumentNullException("list"); _list = list; this.FollowRedirects = true; this.CookieContainer = new System.Net.CookieContainer(); }
internal ContentFilteringSection(MailmanList list) : base(list) { }
internal GeneralSection(MailmanList list) : base(list) { }
internal TopicsSection(MailmanList list) : base(list) { }
internal ArchivingSection(MailmanList list) : base(list) { }
internal PrivacySection(MailmanList list) : base(list) { }
internal AutoResponderSection(MailmanList list) : base(list) { }
internal PasswordsSection(MailmanList list) : base(list) { }
internal NonDigestSection(MailmanList list) : base(list) { }
internal MembershipSection(MailmanList list) : base(list) { }
internal BounceProcessingSection(MailmanList list) : base(list) { }
internal MailNewsGatewaysSection(MailmanList list) : base(list) { }