Пример #1
0
        public ProfileSection(string name, int lineNumber = -1) : base(lineNumber)
        {
            if (string.IsNullOrWhiteSpace(name))
            {
                throw new ArgumentNullException("name");
            }

            if (JF.Common.StringExtensions.ContainsCharacters(name, "?"))
            {
                throw new ArgumentException();
            }

            _name  = name.Trim();
            _items = new ProfileItemCollection(this);
        }
Пример #2
0
 public ProfileEntryCollection(ProfileItemCollection items) : base(items)
 {
 }
Пример #3
0
 public ProfileSectionCollection(ProfileItemCollection items) : base(items)
 {
 }