Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="options">Options used to handle the ini file</param>
 public IniFile(IniOptions options = null)
 {
     if (options != null)
     {
         this.Options = options;
     }
     else
     {
         this.Options = new IniOptions();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="filePath">file path to ini file</param>
 /// <param name="options">Options used to handle the ini file</param>
 /// <param name="prefix">Optional prefix appended to section names when parsing file</param>
 public IniFile(string filePath, IniOptions options = null, string prefix = "") : this(options)
 {
     Load(filePath, false, prefix);
 }