public void ToContent(IniFileContent content) { foreach (var kv in _pairs) { content.AddKeyValue(kv.Key, kv.Value); } }
public void ToContent(IniFileContent content) { foreach (var section in _sections.Values) { content.AddSection(section.Name); section.ToContent(content); } }
public static void CollectLinesInfo(IniFileContent rawContent, IniFileData dataCollection) { var handler = new ContentLinesHandler(dataCollection); foreach (var item in rawContent) { item.HandleWith(handler); } }
public void CollectFrom(IniFileContent content) { ContentLinesHandler.CollectLinesInfo(content, this); }