public ProfileSection(string name, int lineNumber = -1) : base(lineNumber) { if (string.IsNullOrWhiteSpace(name)) { throw new ArgumentNullException("name"); } if (Common.StringExtension.ContainsCharacters(name, "/*?")) { throw new ArgumentException(); } _name = name.Trim(); _items = new ProfileItemCollection(this); }
public ProfileEntryCollection(ProfileItemCollection items) : base(items) { }
public ProfileSectionCollection(ProfileItemCollection items) : base(items) { }