Пример #1
0
        /// <summary>
        ///     Creates a new <see cref="IniSection"/>
        /// </summary>
        /// <param name="section">Section Name</param>
        public IniSection(string section)
        {
            Section = section;

            _comments = new IniComment();
            _keys     = new List <IniKey>();
        }
Пример #2
0
        /// <summary>
        ///     Creates a new <see cref="IniKey" />
        /// </summary>
        /// <param name="key">Key Name</param>
        /// <param name="value">Key Value</param>
        public IniKey(string key, string value = null)
        {
            Key   = key;
            Value = value;

            _comments = new IniComment();
        }
Пример #3
0
        /// <summary>
        ///     Creates a new <see cref="IniSection"/>
        /// </summary>
        /// <param name="section">Section Name</param>
        public IniSection(string section)
        {
            Section = section;

            _comments = new IniComment();
            _keys = new List<IniKey>();
        }
Пример #4
0
        /// <summary>
        ///     Creates a new <see cref="IniKey" />
        /// </summary>
        /// <param name="key">Key Name</param>
        /// <param name="value">Key Value</param>
        public IniKey(string key, string value = null)
        {
            Key = key;
            Value = value;

            _comments = new IniComment();
        }
Пример #5
0
 /// <summary>
 ///     Creates an Empty Ini File
 /// </summary>
 public IniFile()
 {
     _comments = new IniComment();
     _sections = new List <IniSection>();
 }
Пример #6
0
 /// <summary>
 ///     Creates an Empty Ini File
 /// </summary>
 public IniFile()
 {
     _comments = new IniComment();
     _sections = new List<IniSection>();
 }