Ejemplo n.º 1
0
        public IniSection(string sectionName, IEqualityComparer <string> equalityComparer, bool isComment = false)
        {
            if (string.IsNullOrEmpty(sectionName))
            {
                throw new ArgumentException("The section name cannot be empty");
            }

            Name               = sectionName;
            IsComment          = isComment;
            KeyValueCollection = new IniKeyValueCollection(equalityComparer);
        }
Ejemplo n.º 2
0
 public IniFile()
 {
     sectionCollection = new IniSectionCollection();
     Globals           = new IniKeyValueCollection();
 }