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)
 {
 }
Example #3
0
 public ProfileSectionCollection(ProfileItemCollection items) : base(items)
 {
 }