Changeset 1405 for branches/New Persistence Exploration/Persistence
- Timestamp:
- 03/24/09 16:59:33 (15 years ago)
- Location:
- branches/New Persistence Exploration/Persistence
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New Persistence Exploration/Persistence/HeuristicLab.Persistence.GUI/PersistenceConfigurationForm.cs
r1401 r1405 27 27 initializeDecomposerList(); 28 28 initializeFormatterPages(); 29 ConfigurationService.Instance.DefineConfiguration(30 XmlFormat.Instance,31 new Configuration(32 new Dictionary<Type, IFormatter> {{typeof (bool), new FakeBoolean2XmlFormatter()}},33 new List<IDecomposer>{new ArrayDecomposer(), new DictionaryDecomposer()}));29 //ConfigurationService.Instance.DefineConfiguration( 30 // XmlFormat.Instance, 31 // new Configuration( 32 // new Dictionary<Type, IFormatter> {{typeof (bool), new FakeBoolean2XmlFormatter()}}, 33 // new List<IDecomposer>{new ArrayDecomposer(), new DictionaryDecomposer()})); 34 34 initializeFromConfigurationService(); 35 35 } … … 61 61 row.Cells["Active"].Value = true; 62 62 break; 63 } 63 } 64 64 } 65 65 } 66 } 67 break; 66 } 68 67 } 69 68 } … … 279 278 } 280 279 280 [EmptyStorableClass] 281 281 public class FakeBoolean2XmlFormatter : IFormatter { 282 282 … … 294 294 } 295 295 296 [EmptyStorableClass] 296 297 public class Int2XmlFormatter: IFormatter { 297 298 public Type Type { get { return typeof (int); } } -
branches/New Persistence Exploration/Persistence/Persistence/Default/Decomposers/ArrayDecomposer.cs
r1361 r1405 1 1 using System; 2 2 using System.Collections; 3 using HeuristicLab.Persistence.Core; 3 4 using HeuristicLab.Persistence.Interfaces; 4 5 5 6 namespace HeuristicLab.Persistence.Default.Decomposers { 6 7 8 [EmptyStorableClass] 7 9 public class ArrayDecomposer : IDecomposer { 8 10 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Decomposers/DictionaryDecomposer.cs
r1361 r1405 1 1 using System; 2 2 using System.Collections; 3 using HeuristicLab.Persistence.Core; 3 4 using HeuristicLab.Persistence.Interfaces; 4 5 5 namespace HeuristicLab.Persistence.Default.Decomposers { 6 namespace HeuristicLab.Persistence.Default.Decomposers { 6 7 8 [EmptyStorableClass] 7 9 public class DictionaryDecomposer : IDecomposer { 8 10 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Decomposers/EnumerableDecomposer.cs
r1361 r1405 2 2 using System.Collections; 3 3 using System.Reflection; 4 using HeuristicLab.Persistence.Core; 4 5 using HeuristicLab.Persistence.Interfaces; 5 6 6 7 namespace HeuristicLab.Persistence.Default.Decomposers { 7 8 9 [EmptyStorableClass] 8 10 public class EnumerableDecomposer : IDecomposer { 9 11 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Decomposers/KeyValuePairDecomposer.cs
r1361 r1405 2 2 using System.Collections; 3 3 using System.Collections.Generic; 4 using HeuristicLab.Persistence.Core; 4 5 using HeuristicLab.Persistence.Interfaces; 5 6 6 7 namespace HeuristicLab.Persistence.Default.Decomposers { 7 8 9 [EmptyStorableClass] 8 10 public class KeyValuePairDecomposer : IDecomposer { 9 11 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Compact/DoubleArray2XmlFormatters.cs
r1361 r1405 1 1 using System; 2 using HeuristicLab.Persistence.Core; 2 3 3 4 namespace HeuristicLab.Persistence.Default.Xml.Compact { 4 5 6 [EmptyStorableClass] 5 7 public class DoubleArray2XmlFormatter : NumberArray2XmlFormatter { 6 8 … … 20 22 } 21 23 22 24 [EmptyStorableClass] 23 25 public class Double2DArray2XmlFormatter : DoubleArray2XmlFormatter { 24 26 public override Type Type { … … 29 31 } 30 32 31 33 [EmptyStorableClass] 32 34 public class Double3DArray2XmlFormatter : DoubleArray2XmlFormatter { 33 35 public override Type Type { -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Compact/DoubleList2XmlFormatter.cs
r1361 r1405 2 2 using System.Collections.Generic; 3 3 using System; 4 using HeuristicLab.Persistence.Core; 4 5 5 6 namespace HeuristicLab.Persistence.Default.Xml.Compact { 6 7 8 [EmptyStorableClass] 7 9 public class DoubleList2XmlFormatter : NumberEnumeration2XmlFormatter { 8 10 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Compact/IntArray2XmlFormatters.cs
r1361 r1405 1 1 using System; 2 using HeuristicLab.Persistence.Core; 2 3 3 4 namespace HeuristicLab.Persistence.Default.Xml.Compact { 4 5 6 [EmptyStorableClass] 5 7 public class IntArray2XmlFormatter : NumberArray2XmlFormatter { 6 8 … … 21 23 22 24 25 [EmptyStorableClass] 23 26 public class Int2DArray2XmlFormatter : IntArray2XmlFormatter { 24 27 public override Type Type { … … 30 33 31 34 35 [EmptyStorableClass] 32 36 public class Int3DArray2XmlFormatter : IntArray2XmlFormatter { 33 37 public override Type Type { -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Compact/IntList2XmlFormatter.cs
r1361 r1405 2 2 using System.Collections.Generic; 3 3 using System; 4 using HeuristicLab.Persistence.Core; 4 5 5 6 namespace HeuristicLab.Persistence.Default.Xml.Compact { 6 7 8 [EmptyStorableClass] 7 9 public class IntList2XmlFormatter : NumberEnumeration2XmlFormatter { 8 10 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Primitive/Boolean2XmlFormatter.cs
r1361 r1405 1 1 using System; 2 using HeuristicLab.Persistence.Core; 2 3 using HeuristicLab.Persistence.Interfaces; 3 4 4 5 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 5 6 7 [EmptyStorableClass] 6 8 public class Boolean2XmlFormatter : IFormatter { 7 9 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Primitive/DateTime2XmlFormatter.cs
r1361 r1405 1 1 using System; 2 using HeuristicLab.Persistence.Core; 2 3 using HeuristicLab.Persistence.Interfaces; 3 4 4 5 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 5 6 7 [EmptyStorableClass] 6 8 public class DateTime2XmlFormatter : IFormatter { 7 9 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Primitive/Double2XmlFormatter.cs
r1361 r1405 1 1 using System; 2 2 using System.Globalization; 3 using HeuristicLab.Persistence.Core; 3 4 using HeuristicLab.Persistence.Interfaces; 4 5 5 6 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 6 7 8 [EmptyStorableClass] 7 9 public class Double2XmlFormatter : IFormatter { 8 10 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Primitive/Int2XmlFormatter.cs
r1361 r1405 1 1 using System; 2 using HeuristicLab.Persistence.Core; 2 3 using HeuristicLab.Persistence.Interfaces; 3 4 4 5 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 5 6 7 [EmptyStorableClass] 6 8 public class Int2XmlFormatter : IFormatter { 7 9 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/Primitive/Sting2XmlFormatter.cs
r1361 r1405 1 1 using System; 2 2 using System.Text; 3 using HeuristicLab.Persistence.Core; 3 4 using HeuristicLab.Persistence.Interfaces; 4 5 5 6 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 6 7 8 [EmptyStorableClass] 7 9 public class String2XmlFormatter : IFormatter { 8 10 -
branches/New Persistence Exploration/Persistence/Persistence/Default/Xml/XmlFormat.cs
r1361 r1405 1 1 using HeuristicLab.Persistence.Interfaces; 2 using HeuristicLab.Persistence.Core; 2 3 3 4 namespace HeuristicLab.Persistence.Default.Xml { 4 5 5 public class XmlFormat : IFormat { 6 public string Name { get { return "XML"; } } 6 [EmptyStorableClass] 7 public class XmlFormat : Format { 8 public override string Name { get { return "XML"; } } 7 9 public static readonly XmlFormat Instance = new XmlFormat(); 8 10 }
Note: See TracChangeset
for help on using the changeset viewer.