Represents all data from an INI file.
More...
|
| IniData () |
| Initializes an empty IniData instance.
|
|
| IniData (SectionDataCollection sdc) |
| Initializes a new IniData instance using a previous SectionDataCollection.
|
|
| IniData (IniData ori) |
|
override string | ToString () |
|
virtual string | ToString (IIniDataFormatter formatter) |
|
object | Clone () |
| Creates a new object that is a copy of the current instance.
|
|
void | ClearAllComments () |
| Deletes all comments in all sections and key values.
|
|
void | Merge (IniData toMergeIniData) |
| Merges the other iniData into this one by overwriting existing values. Comments get appended.
|
|
|
IIniParserConfiguration | Configuration [get, set] |
| Configuration used to write an ini file with the proper delimiter characters and data.
|
|
KeyDataCollection | Global [get] |
| Global sections. Contains key/value pairs which are not enclosed in any section (i.e. they are defined at the beginning of the file, before any section.
|
|
KeyDataCollection | this[string sectionName] [get] |
| Gets the KeyDataCollection instance with the specified section name.
|
|
SectionDataCollection | Sections [get, set] |
| Gets or sets all the SectionData for this IniData instance.
|
|
Represents all data from an INI file.
◆ IniData()
Initializes a new IniData instance using a previous SectionDataCollection.
- Parameters
-
sdc | SectionDataCollection object containing the data with the sections of the file |
◆ Clone()
object IniParser.Model.IniData.Clone |
( |
| ) |
|
|
inline |
Creates a new object that is a copy of the current instance.
- Returns
- A new object that is a copy of this instance.
◆ Merge()
void IniParser.Model.IniData.Merge |
( |
IniData |
toMergeIniData | ) |
|
|
inline |
Merges the other iniData into this one by overwriting existing values. Comments get appended.
- Parameters
-
toMergeIniData | IniData instance to merge into this. If it is null this operation does nothing. |
◆ Configuration
Configuration used to write an ini file with the proper delimiter characters and data.
If the IniData instance was created by a parser, this instance is a copy of the IIniParserConfiguration used by the parser (i.e. different objects instances) If this instance is created programatically without using a parser, this property returns an instance of DefaultIniParserConfiguration
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/AutoConfig/IniFileParser/Model/IniData.cs