コード例 #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)
 {
 }