Ejemplo n.º 1
0
 public void Save(ISettingsSection section)
 {
     foreach (var name in Names)
     {
         NodePathNameSerializer.Save(section.CreateSection(NAME_SECTION), name);
     }
 }
Ejemplo n.º 2
0
		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;
		}