Energy Core Library
Energy.Base.Ini.IniFile Class Reference
Inheritance diagram for Energy.Base.Ini.IniFile:

Public Member Functions

bool Load (string fileName)
 
bool Load (string fileName, Encoding encoding)
 
bool Parse (string content)
 
Dictionary< string, string > Add (string section)
 
Dictionary< string, string > Add (string section, string key, string value)
 
new string ToString ()
 

Public Attributes

bool AllowEmptySection = true
 
bool IgnoreWhiteSpace = true
 
string [] CommentCharacters = new string[] { ";" }
 
string [] KeyValueSeparators = new string[] { "=" }
 
string [] SectionBrackets = new string[] { "[]" }
 

Properties

bool CaseSensitive [get, set]
 

Member Function Documentation

◆ Add() [1/2]

Dictionary<string, string> Energy.Base.Ini.IniFile.Add ( string  section)

◆ Add() [2/2]

Dictionary<string, string> Energy.Base.Ini.IniFile.Add ( string  section,
string  key,
string  value 
)

◆ Load() [1/2]

bool Energy.Base.Ini.IniFile.Load ( string  fileName)

◆ Load() [2/2]

bool Energy.Base.Ini.IniFile.Load ( string  fileName,
Encoding  encoding 
)

◆ Parse()

bool Energy.Base.Ini.IniFile.Parse ( string  content)

◆ ToString()

new string Energy.Base.Ini.IniFile.ToString ( )

Member Data Documentation

◆ AllowEmptySection

bool Energy.Base.Ini.IniFile.AllowEmptySection = true

◆ CommentCharacters

string [] Energy.Base.Ini.IniFile.CommentCharacters = new string[] { ";" }

◆ IgnoreWhiteSpace

bool Energy.Base.Ini.IniFile.IgnoreWhiteSpace = true

◆ KeyValueSeparators

string [] Energy.Base.Ini.IniFile.KeyValueSeparators = new string[] { "=" }

◆ SectionBrackets

string [] Energy.Base.Ini.IniFile.SectionBrackets = new string[] { "[]" }

Property Documentation

◆ CaseSensitive

bool Energy.Base.Ini.IniFile.CaseSensitive
getset

The documentation for this class was generated from the following file: