public void Save(ISettingsSection section) { foreach (var name in Names) { NodePathNameSerializer.Save(section.CreateSection(NAME_SECTION), name); } }
public static SerializedPath Load(ISettingsSection pathSection) { var path = new SerializedPath(); foreach (var sect in pathSection.SectionsWithName(NAME_SECTION)) path.Names.Add(NodePathNameSerializer.Load(sect)); return path; }