Пример #1
0
 public void ToContent(IniFileContent content)
 {
     foreach (var kv in _pairs)
     {
         content.AddKeyValue(kv.Key, kv.Value);
     }
 }
Пример #2
0
 public void ToContent(IniFileContent content)
 {
     foreach (var section in _sections.Values)
     {
         content.AddSection(section.Name);
         section.ToContent(content);
     }
 }
Пример #3
0
            public static void CollectLinesInfo(IniFileContent rawContent, IniFileData dataCollection)
            {
                var handler = new ContentLinesHandler(dataCollection);

                foreach (var item in rawContent)
                {
                    item.HandleWith(handler);
                }
            }
Пример #4
0
 public void CollectFrom(IniFileContent content)
 {
     ContentLinesHandler.CollectLinesInfo(content, this);
 }