- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3
- Files:
-
- 48 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/CheckedItemCollection.cs
r16453 r16462 25 25 using HeuristicLab.Collections; 26 26 using HeuristicLab.Common; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Core { … … 32 32 /// </summary> 33 33 /// <typeparam name="T">The element type (base type IItem)</typeparam> 34 [Storable Class]34 [StorableType("CAD59659-15B5-4CB0-A199-272E28F40832")] 35 35 [Item("CheckedItemCollection", "Represents a collection of items that can be checked or unchecked.")] 36 36 public class CheckedItemCollection<T> : ItemCollection<T>, ICheckedItemCollection<T> where T : class, IItem { … … 50 50 /// <param name="deserializing"></param> 51 51 [StorableConstructor] 52 protected CheckedItemCollection( bool deserializing) : base(deserializing) { }52 protected CheckedItemCollection(StorableConstructorFlag _) : base(_) { } 53 53 protected CheckedItemCollection(CheckedItemCollection<T> original, Cloner cloner) 54 54 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/CheckedItemList.cs
r16453 r16462 25 25 using HeuristicLab.Collections; 26 26 using HeuristicLab.Common; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Core { … … 32 32 /// </summary> 33 33 /// <typeparam name="T">The element type (base type is IItem)</typeparam> 34 [Storable Class]34 [StorableType("83222907-689C-484B-8431-BA85DF516761")] 35 35 [Item("CheckedItemList", "Represents a list of items that can be checked or unchecked.")] 36 36 public class CheckedItemList<T> : ItemList<T>, ICheckedItemList<T> where T : class, IItem { … … 54 54 /// <param name="deserializing"></param> 55 55 [StorableConstructor] 56 protected CheckedItemList( bool deserializing) : base(deserializing) { }56 protected CheckedItemList(StorableConstructorFlag _) : base(_) { } 57 57 protected CheckedItemList(CheckedItemList<T> original, Cloner cloner) 58 58 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ConstraintCollection.cs
r16453 r16462 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("5E78ED3E-97A4-4632-B729-C9B7DC965609")] 28 28 [Item("ConstraintCollection", "Represents a collection of constraints.")] 29 29 public class ConstraintCollection : ItemCollection<IConstraint> { 30 30 [StorableConstructor] 31 protected ConstraintCollection( bool deserializing) : base(deserializing) { }31 protected ConstraintCollection(StorableConstructorFlag _) : base(_) { } 32 32 protected ConstraintCollection(ConstraintCollection original, Cloner cloner) : base(original, cloner) { } 33 33 public ConstraintCollection() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/DirectedGraph/Arc.cs
r16453 r16462 22 22 using System; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 27 [Item("Arc", "A graph arc connecting two graph vertices, that can have a weight, label, and data object for holding additional info")] 28 [Storable Class]28 [StorableType("E91E40A2-FE77-49F0-866E-5127F3C1AC79")] 29 29 public class Arc : Item, IArc { 30 30 [Storable] … … 58 58 59 59 [StorableConstructor] 60 protected Arc( bool deserializing) : base(deserializing) { }60 protected Arc(StorableConstructorFlag _) : base(_) { } 61 61 62 62 public Arc(IVertex source, IVertex target) { … … 82 82 } 83 83 84 [Storable Class]84 [StorableType("5F06782E-3BD2-4A9D-B030-BE1D6A6B714F")] 85 85 public class Arc<T> : Arc, IArc<T> where T : class, IDeepCloneable { 86 86 [Storable] … … 105 105 } 106 106 107 public Arc(bool deserializing) 108 : base(deserializing) { 107 [StorableConstructor] 108 public Arc(StorableConstructorFlag _) 109 : base(_) { 109 110 } 110 111 -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/DirectedGraph/DirectedGraph.cs
r16453 r16462 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Common.Resources; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Core { 31 31 [Item("DirectedGraph", "Generic class representing a directed graph with custom vertices and content")] 32 [Storable Class]32 [StorableType("C7DF8A65-95AE-4D73-950B-27A8086D7DA2")] 33 33 public class DirectedGraph : Item, IDirectedGraph { 34 34 public override Image ItemImage { get { return VSImageLibrary.Graph; } } … … 70 70 71 71 [StorableConstructor] 72 protected DirectedGraph(bool serializing) 73 : base(serializing) { 72 protected DirectedGraph(StorableConstructorFlag _) : base(_) { 74 73 } 75 74 -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/DirectedGraph/Vertex.cs
r16453 r16462 24 24 using System.Linq; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 29 [Item("Vertex", "An object representing a vertex in the graph. It can have a text label, a weight, and an additional data object.")] 30 [Storable Class]30 [StorableType("3FA3AAFA-05FF-4BE9-BD72-05A822A5E8CC")] 31 31 public class Vertex : Item, IVertex { 32 32 [Storable] … … 67 67 68 68 [StorableConstructor] 69 public Vertex( bool deserializing) : base(deserializing) { }69 public Vertex(StorableConstructorFlag _) : base(_) { } 70 70 71 71 [StorableHook(HookType.AfterDeserialization)] … … 141 141 } 142 142 143 [Storable Class]143 [StorableType("ED2FD106-6F97-415A-A6D0-7F6690426910")] 144 144 public class Vertex<T> : Vertex, IVertex<T> where T : class,IDeepCloneable { 145 145 [Storable] … … 155 155 156 156 [StorableConstructor] 157 protected Vertex( bool deserializing) : base(deserializing) { }157 protected Vertex(StorableConstructorFlag _) : base(_) { } 158 158 159 159 protected Vertex(Vertex<T> original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ItemArray.cs
r16453 r16462 26 26 using HeuristicLab.Collections; 27 27 using HeuristicLab.Common; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Core { 31 [Storable Class]31 [StorableType("CB8A238C-B8E6-47A3-A7D8-AB1212DEC672")] 32 32 [Item("ItemArray", "Represents an array of items.")] 33 33 public class ItemArray<T> : ObservableArray<T>, IItemArray<T> where T : class, IItem { … … 49 49 50 50 [StorableConstructor] 51 protected ItemArray( bool deserializing) : base(deserializing) { }51 protected ItemArray(StorableConstructorFlag _) : base(_) { } 52 52 protected ItemArray(ItemArray<T> original, Cloner cloner) { 53 53 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ItemCollection.cs
r16453 r16462 26 26 using HeuristicLab.Collections; 27 27 using HeuristicLab.Common; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Core { 31 [Storable Class]31 [StorableType("0BD4F01E-2D52-4E41-AEF8-611F10856D90")] 32 32 [Item("ItemCollection", "Represents a collection of items.")] 33 33 public class ItemCollection<T> : ObservableCollection<T>, IItemCollection<T> where T : class, IItem { … … 49 49 50 50 [StorableConstructor] 51 protected ItemCollection( bool deserializing) : base(deserializing) { }51 protected ItemCollection(StorableConstructorFlag _) : base(_) { } 52 52 protected ItemCollection(ItemCollection<T> original, Cloner cloner) { 53 53 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ItemDictionary.cs
r16453 r16462 25 25 using HeuristicLab.Collections; 26 26 using HeuristicLab.Common; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Core { 30 [Storable Class]30 [StorableType("C2B03555-3956-400E-94C3-3FB868F30DD2")] 31 31 [Item("ItemDictionary", "Represents a dictionary of items.")] 32 32 public class ItemDictionary<TKey, TValue> : ObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> … … 51 51 52 52 [StorableConstructor] 53 protected ItemDictionary( bool deserializing) : base(deserializing) { }53 protected ItemDictionary(StorableConstructorFlag _) : base(_) { } 54 54 protected ItemDictionary(ItemDictionary<TKey, TValue> original, Cloner cloner) { 55 55 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ItemList.cs
r16453 r16462 26 26 using HeuristicLab.Collections; 27 27 using HeuristicLab.Common; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Core { 31 [Storable Class]31 [StorableType("EF6B019D-4ECF-4146-A77D-FF041D0B85F5")] 32 32 [Item("ItemList", "Represents a list of items.")] 33 33 public class ItemList<T> : ObservableList<T>, IItemList<T> where T : class, IItem { … … 49 49 50 50 [StorableConstructor] 51 protected ItemList( bool deserializing) : base(deserializing) { }51 protected ItemList(StorableConstructorFlag _) : base(_) { } 52 52 protected ItemList(ItemList<T> original, Cloner cloner) { 53 53 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ItemSet.cs
r16453 r16462 26 26 using HeuristicLab.Collections; 27 27 using HeuristicLab.Common; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Core { 31 [Storable Class]31 [StorableType("C2660C9F-3886-458E-80DF-06EEE9BB3C21")] 32 32 [Item("ItemSet", "Represents a set of items.")] 33 33 public class ItemSet<T> : ObservableSet<T>, IItemSet<T> where T : class, IItem { … … 49 49 50 50 [StorableConstructor] 51 protected ItemSet( bool deserializing) : base(deserializing) { }51 protected ItemSet(StorableConstructorFlag _) : base(_) { } 52 52 protected ItemSet(ItemSet<T> original, Cloner cloner) { 53 53 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/KeyedItemCollection.cs
r16453 r16462 25 25 using HeuristicLab.Collections; 26 26 using HeuristicLab.Common; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Core { 30 30 [Item("KeyedItemCollection", "Represents a keyed collection of items.")] 31 [Storable Class]31 [StorableType("176A9538-58A6-4D3F-9590-26FC37E2BA04")] 32 32 public abstract class KeyedItemCollection<TKey, TItem> : ObservableKeyedCollection<TKey, TItem>, IKeyedItemCollection<TKey, TItem> where TItem : class, IItem { 33 33 public virtual string ItemName { … … 48 48 49 49 [StorableConstructor] 50 protected KeyedItemCollection( bool deserializing) : base(deserializing) { }50 protected KeyedItemCollection(StorableConstructorFlag _) : base(_) { } 51 51 protected KeyedItemCollection(KeyedItemCollection<TKey, TItem> original, Cloner cloner) { 52 52 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/NamedItemCollection.cs
r16453 r16462 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Core { 28 28 [Item("NamedItemCollection", "Represents a collection of named items.")] 29 [Storable Class]29 [StorableType("A7DC6650-2486-472C-8515-0D66C93C03F6")] 30 30 public class NamedItemCollection<T> : KeyedItemCollection<string, T> where T : class, INamedItem { 31 31 [StorableConstructor] 32 protected NamedItemCollection( bool deserializing) : base(deserializing) { }32 protected NamedItemCollection(StorableConstructorFlag _) : base(_) { } 33 33 protected NamedItemCollection(NamedItemCollection<T> original, Cloner cloner) 34 34 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/OperationCollection.cs
r16453 r16462 23 23 using System.Linq; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Core { 28 [Storable Class]28 [StorableType("EDE09772-7C20-4B51-90FF-5867B1D91ABE")] 29 29 public sealed class OperationCollection : DeepCloneable, IList<IOperation>, IOperation { 30 30 [Storable] … … 39 39 40 40 [StorableConstructor] 41 private OperationCollection( bool deserializing) { }41 private OperationCollection(StorableConstructorFlag _) { } 42 42 private OperationCollection(OperationCollection original, Cloner cloner) 43 43 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/OperatorCollection.cs
r16453 r16462 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("35A02DD1-33F8-4F0D-9DD5-93ED71EE1591")] 28 28 [Item("Operator Collection", "Represents a collection of operators.")] 29 29 public class OperatorCollection : ItemCollection<IOperator> { 30 30 [StorableConstructor] 31 protected OperatorCollection( bool deserializing) : base(deserializing) { }31 protected OperatorCollection(StorableConstructorFlag _) : base(_) { } 32 32 protected OperatorCollection(OperatorCollection original, Cloner cloner) : base(original, cloner) { } 33 33 public OperatorCollection() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/OperatorList.cs
r16453 r16462 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("0477DDAD-41AA-41E7-AE2A-5C0288484119")] 28 28 [Item("OperatorList", "Represents a list of operators.")] 29 29 public class OperatorList : ItemList<IOperator> { 30 30 [StorableConstructor] 31 protected OperatorList( bool deserializing) : base(deserializing) { }31 protected OperatorList(StorableConstructorFlag _) : base(_) { } 32 32 protected OperatorList(OperatorList original, Cloner cloner) : base(original, cloner) { } 33 33 public OperatorList() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/OperatorSet.cs
r16453 r16462 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("FC16764E-EA5C-4D53-953B-3BEE85C7C376")] 28 28 [Item("OperatorSet", "Represents a set of operators.")] 29 29 public class OperatorSet : ItemSet<IOperator> { 30 30 [StorableConstructor] 31 protected OperatorSet( bool deserializing) : base(deserializing) { }31 protected OperatorSet(StorableConstructorFlag _) : base(_) { } 32 32 protected OperatorSet(OperatorSet original, Cloner cloner) : base(original, cloner) { } 33 33 public OperatorSet() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ParameterCollection.cs
r16453 r16462 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("D1F7CEF4-42C6-46E1-B2B9-AB49C1420D55")] 28 28 [Item("ParameterCollection", "Represents a collection of parameters.")] 29 29 public class ParameterCollection : NamedItemCollection<IParameter> { 30 30 [StorableConstructor] 31 protected ParameterCollection( bool deserializing) : base(deserializing) { }31 protected ParameterCollection(StorableConstructorFlag _) : base(_) { } 32 32 protected ParameterCollection(ParameterCollection original, Cloner cloner) : base(original, cloner) { } 33 33 public ParameterCollection() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ReadOnlyCheckedItemCollection.cs
r16453 r16462 24 24 using HeuristicLab.Collections; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("81B63F7B-0AD4-4BAD-8F39-BAB1F6B006C8")] 30 30 [Item("ReadOnlyCheckedItemCollection", "Represents a read-only collection of checked items.")] 31 31 public class ReadOnlyCheckedItemCollection<T> : ReadOnlyItemCollection<T>, ICheckedItemCollection<T> where T : class, IItem { … … 35 35 36 36 [StorableConstructor] 37 protected ReadOnlyCheckedItemCollection( bool deserializing) : base(deserializing) { }37 protected ReadOnlyCheckedItemCollection(StorableConstructorFlag _) : base(_) { } 38 38 protected ReadOnlyCheckedItemCollection(ReadOnlyCheckedItemCollection<T> original, Cloner cloner) 39 39 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ReadOnlyCheckedItemList.cs
r16453 r16462 24 24 using HeuristicLab.Collections; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("BE738F46-3864-42BB-BD29-F3E933B0AC06")] 30 30 [Item("ReadOnlyCheckedItemList", "Represents a read-only list of checked items.")] 31 31 public class ReadOnlyCheckedItemList<T> : ReadOnlyItemList<T>, ICheckedItemList<T> where T : class, IItem { … … 35 35 36 36 [StorableConstructor] 37 protected ReadOnlyCheckedItemList( bool deserializing) : base(deserializing) { }37 protected ReadOnlyCheckedItemList(StorableConstructorFlag _) : base(_) { } 38 38 protected ReadOnlyCheckedItemList(ReadOnlyCheckedItemList<T> original, Cloner cloner) 39 39 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ReadOnlyItemArray.cs
r16453 r16462 24 24 using HeuristicLab.Collections; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("29C0CA71-5C3C-48A7-93B3-289E532F396E")] 30 30 [Item("ReadOnlyItemArray", "Represents a read-only array of items.")] 31 31 public class ReadOnlyItemArray<T> : ReadOnlyObservableArray<T>, IItemArray<T> where T : class, IItem { … … 47 47 48 48 [StorableConstructor] 49 protected ReadOnlyItemArray( bool deserializing) : base(deserializing) { }49 protected ReadOnlyItemArray(StorableConstructorFlag _) : base(_) { } 50 50 protected ReadOnlyItemArray(ReadOnlyItemArray<T> original, Cloner cloner) { 51 51 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ReadOnlyItemCollection.cs
r16453 r16462 24 24 using HeuristicLab.Collections; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("B8D4A97C-4277-4B42-86E2-8D64B254BCFD")] 30 30 [Item("ReadOnlyItemCollection", "Represents a read-only collection of items.")] 31 31 public class ReadOnlyItemCollection<T> : ReadOnlyObservableCollection<T>, IItemCollection<T> where T : class, IItem { … … 47 47 48 48 [StorableConstructor] 49 protected ReadOnlyItemCollection( bool deserializing) : base(deserializing) { }49 protected ReadOnlyItemCollection(StorableConstructorFlag _) : base(_) { } 50 50 protected ReadOnlyItemCollection(ReadOnlyItemCollection<T> original, Cloner cloner) { 51 51 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ReadOnlyItemDictionary.cs
r16453 r16462 24 24 using HeuristicLab.Collections; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("DCF34C1E-1F68-4AAB-9761-4036D58E7E75")] 30 30 [Item("ReadOnlyItemDictionary", "Represents a read-only dictionary of items.")] 31 31 public class ReadOnlyItemDictionary<TKey, TValue> : ReadOnlyObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> … … 50 50 51 51 [StorableConstructor] 52 protected ReadOnlyItemDictionary( bool deserializing) : base(deserializing) { }52 protected ReadOnlyItemDictionary(StorableConstructorFlag _) : base(_) { } 53 53 protected ReadOnlyItemDictionary(ReadOnlyItemDictionary<TKey, TValue> original, Cloner cloner) { 54 54 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ReadOnlyItemList.cs
r16453 r16462 24 24 using HeuristicLab.Collections; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("8FC81B05-B27D-4FD7-A8F9-7EE29839B056")] 30 30 [Item("ReadOnlyItemList", "Represents a read-only list of items.")] 31 31 public class ReadOnlyItemList<T> : ReadOnlyObservableList<T>, IItemList<T> where T : class, IItem { … … 47 47 48 48 [StorableConstructor] 49 protected ReadOnlyItemList( bool deserializing) : base(deserializing) { }49 protected ReadOnlyItemList(StorableConstructorFlag _) : base(_) { } 50 50 protected ReadOnlyItemList(ReadOnlyItemList<T> original, Cloner cloner) 51 51 : base(cloner.Clone((IItemList<T>)original.list)) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ReadOnlyItemSet.cs
r16453 r16462 24 24 using HeuristicLab.Collections; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("65208683-0ECE-4647-B8BA-FD80A9CA00F4")] 30 30 [Item("ReadOnlyItemSet", "Represents a read-only set of items.")] 31 31 public class ReadOnlyItemSet<T> : ReadOnlyObservableSet<T>, IItemSet<T> where T : class, IItem { … … 47 47 48 48 [StorableConstructor] 49 protected ReadOnlyItemSet( bool deserializing) : base(deserializing) { }49 protected ReadOnlyItemSet(StorableConstructorFlag _) : base(_) { } 50 50 protected ReadOnlyItemSet(ReadOnlyItemSet<T> original, Cloner cloner) { 51 51 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs
r16453 r16462 24 24 using HeuristicLab.Collections; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("BEAA9943-228E-4B99-9C07-CE77BA724C41")] 30 30 [Item("ReadOnlyKeyedItemCollection", "Represents a read-only keyed collection of items.")] 31 31 public class ReadOnlyKeyedItemCollection<TKey, TItem> : ReadOnlyObservableKeyedCollection<TKey, TItem>, IKeyedItemCollection<TKey, TItem> where TItem : class, IItem { … … 47 47 48 48 [StorableConstructor] 49 protected ReadOnlyKeyedItemCollection( bool deserializing) : base(deserializing) { }49 protected ReadOnlyKeyedItemCollection(StorableConstructorFlag _) : base(_) { } 50 50 protected ReadOnlyKeyedItemCollection(ReadOnlyKeyedItemCollection<TKey, TItem> original, Cloner cloner) { 51 51 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ScopeList.cs
r16453 r16462 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("D8670057-029C-449C-914C-0342A0DCB2C5")] 28 28 [Item("ScopeList", "Represents a list of scopes.")] 29 29 public sealed class ScopeList : ItemList<IScope> { 30 30 [StorableConstructor] 31 private ScopeList( bool deserializing) : base(deserializing) { }31 private ScopeList(StorableConstructorFlag _) : base(_) { } 32 32 private ScopeList(ScopeList original, Cloner cloner) : base(original, cloner) { } 33 33 public ScopeList() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/ValueParameterCollection.cs
r16453 r16462 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("758F5674-7D98-4F44-800E-9E6B0B646938")] 28 28 [Item("ValueParameterCollection", "Represents a collection of value parameters.")] 29 29 public class ValueParameterCollection : NamedItemCollection<IValueParameter> { 30 30 [StorableConstructor] 31 protected ValueParameterCollection( bool deserializing) : base(deserializing) { }31 protected ValueParameterCollection(StorableConstructorFlag _) : base(_) { } 32 32 protected ValueParameterCollection(ValueParameterCollection original, Cloner cloner) : base(original, cloner) { } 33 33 public ValueParameterCollection() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/VariableCollection.cs
r16453 r16462 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("72180610-BA37-4A51-9EFD-D9ADD1061824")] 28 28 [Item("VariableCollection", "Represents a collection of variables.")] 29 29 public sealed class VariableCollection : NamedItemCollection<IVariable> { 30 30 [StorableConstructor] 31 private VariableCollection( bool deserializing) : base(deserializing) { }31 private VariableCollection(StorableConstructorFlag _) : base(_) { } 32 32 private VariableCollection(VariableCollection original, Cloner cloner) : base(original, cloner) { } 33 33 public VariableCollection() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/ComparisonConstraint.cs
r16453 r16462 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Core { 28 [Storable Class]28 [StorableType("6FCBEAF5-62A1-48F9-B1A8-F81D4B15A4AE")] 29 29 [Item("ComparisonConstraint", "A constraint which checks for specified compare operation.")] 30 30 public class ComparisonConstraint : Constraint { 31 31 [StorableConstructor] 32 protected ComparisonConstraint( bool deserializing) : base(deserializing) { }32 protected ComparisonConstraint(StorableConstructorFlag _) : base(_) { } 33 33 protected ComparisonConstraint(ComparisonConstraint original, Cloner cloner) : base(original, cloner) { } 34 34 public ComparisonConstraint() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/Constraint.cs
r16453 r16462 24 24 using System.Linq; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 [Storable Class]29 [StorableType("02F8AFE2-BF67-4378-9E38-B18FF4D63609")] 30 30 public abstract class Constraint : Item, IConstraint { 31 31 [StorableConstructor] 32 protected Constraint( bool deserializing) : base(deserializing) { }32 protected Constraint(StorableConstructorFlag _) : base(_) { } 33 33 protected Constraint(Constraint original, Cloner cloner) 34 34 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/ConstraintOperation.cs
r16453 r16462 20 20 #endregion 21 21 22 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;22 using HEAL.Fossil; 23 23 namespace HeuristicLab.Core { 24 [Storable Class]24 [StorableType("8518F185-8222-414D-8AAF-0273D7B09A0E")] 25 25 public class ConstraintOperation { 26 26 public static readonly ConstraintOperation Equal = new ConstraintOperation(0, "Equal"); … … 39 39 40 40 [StorableConstructor] 41 protected ConstraintOperation( bool deserializing) { }41 protected ConstraintOperation(StorableConstructorFlag _) { } 42 42 protected ConstraintOperation(int value, string name) { 43 43 this.value = value; -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/EqualityConstraint.cs
r16453 r16462 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Core { 28 [Storable Class]28 [StorableType("9E83A84E-39A1-4DEB-90EB-DEB5A457D77D")] 29 29 [Item("EqualityConstraint", "A constraint which checks for equality.")] 30 30 public class EqualityConstraint : Constraint { 31 31 [StorableConstructor] 32 protected EqualityConstraint( bool deserializing) : base(deserializing) { }32 protected EqualityConstraint(StorableConstructorFlag _) : base(_) { } 33 33 protected EqualityConstraint(EqualityConstraint original, Cloner cloner) : base(original, cloner) { } 34 34 public EqualityConstraint() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/TypeCompatibilityConstraint.cs
r16453 r16462 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Core { 28 [Storable Class]28 [StorableType("0BE7E71A-DA13-440F-83C3-0AD15C9E519D")] 29 29 [Item("TypeCompatibilityConstraint", "A constraint that checks for compatible types.")] 30 30 public class TypeCompatibilityConstraint : Constraint { 31 31 [StorableConstructor] 32 protected TypeCompatibilityConstraint( bool deserializing) : base(deserializing) { }32 protected TypeCompatibilityConstraint(StorableConstructorFlag _) : base(_) { } 33 33 protected TypeCompatibilityConstraint(TypeCompatibilityConstraint original, Cloner cloner) : base(original, cloner) { } 34 34 public TypeCompatibilityConstraint() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Engine.cs
r16453 r16462 24 24 using System.Threading; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 29 [Item("Engine", "A base class for engines.")] 30 [Storable Class]30 [StorableType("C6DD096E-726E-4AA7-B5CA-D19CB502E24E")] 31 31 public abstract class Engine : Executable, IEngine { 32 32 [Storable] … … 49 49 50 50 [StorableConstructor] 51 protected Engine( bool deserializing) : base(deserializing) { }51 protected Engine(StorableConstructorFlag _) : base(_) { } 52 52 protected Engine(Engine original, Cloner cloner) 53 53 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Executable.cs
r16453 r16462 25 25 using System.Threading.Tasks; 26 26 using HeuristicLab.Common; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Core { 30 30 [Item("Executable", "A base class for executables.")] 31 [Storable Class]31 [StorableType("17DFB815-4CF8-49EB-BC4A-98059064DB31")] 32 32 public abstract class Executable : Item, IExecutable { 33 33 public static new Image StaticItemImage { … … 68 68 69 69 [StorableConstructor] 70 protected Executable( bool deserializing) : base(deserializing) { }70 protected Executable(StorableConstructorFlag _) : base(_) { } 71 71 protected Executable(Executable original, Cloner cloner) 72 72 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/ExecutionContext.cs
r16453 r16462 22 22 using System; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 [Storable Class]27 [StorableType("83851945-1115-4C08-BD46-318A1FFC54E2")] 28 28 public sealed class ExecutionContext : DeepCloneable, IExecutionContext, IAtomicOperation { 29 29 [Storable] … … 51 51 52 52 [StorableConstructor] 53 private ExecutionContext( bool deserializing) { }53 private ExecutionContext(StorableConstructorFlag _) { } 54 54 private ExecutionContext(ExecutionContext original, Cloner cloner) 55 55 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/HeuristicLab.Core-3.3.csproj
r16454 r16462 111 111 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 112 112 </Reference> 113 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">113 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 114 114 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 115 115 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Interfaces/IConstrainedValueParameter.cs
r16453 r16462 20 20 #endregion 21 21 22 using System;23 22 24 23 namespace HeuristicLab.Core { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Interfaces/IInstrumentedOperator.cs
r16453 r16462 22 22 #endregion 23 23 24 using System.Collections;25 24 using System.Collections.Generic; 26 25 -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Item.cs
r16453 r16462 23 23 using System.Drawing; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Core { … … 29 29 /// Represents the base class for all basic item types. 30 30 /// </summary> 31 [Storable Class]31 [StorableType("E7F13DE4-F9A2-4ADC-AB92-5BBA0588CD2D")] 32 32 [Item("Item", "Base class for all HeuristicLab items.")] 33 33 public abstract class Item : IItem { … … 49 49 50 50 [StorableConstructor] 51 protected Item( bool deserializing) { }51 protected Item(StorableConstructorFlag _) { } 52 52 protected Item(Item original, Cloner cloner) { 53 53 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Log.cs
r16453 r16462 24 24 using System.Drawing; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 using HeuristicLab.PluginInfrastructure; 28 28 29 29 namespace HeuristicLab.Core { 30 30 [Item("Log", "A log for logging string messages.")] 31 [Storable Class]31 [StorableType("8EF2479E-3C44-4631-BA0C-26C05AB13416")] 32 32 public sealed class Log : Item, ILog, IStorableContent { 33 33 public string Filename { get; set; } … … 50 50 51 51 [StorableConstructor] 52 private Log( bool deserializing) : base(deserializing) { }52 private Log(StorableConstructorFlag _) : base(_) { } 53 53 private Log(Log original, Cloner cloner) 54 54 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/NamedItem.cs
r16453 r16462 22 22 using System; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Core { 27 27 [Item("NamedItem", "Base class for items which have a name and an optional description.")] 28 [Storable Class]28 [StorableType("7492EDE5-CA7C-45D5-B5CE-8709BFAC9239")] 29 29 public abstract class NamedItem : Item, INamedItem { 30 30 [Storable] … … 67 67 68 68 [StorableConstructor] 69 protected NamedItem( bool deserializing) : base(deserializing) { }69 protected NamedItem(StorableConstructorFlag _) : base(_) { } 70 70 protected NamedItem(NamedItem original, Cloner cloner) 71 71 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/OperatorGraph.cs
r16453 r16462 25 25 using HeuristicLab.Collections; 26 26 using HeuristicLab.Common; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Core { … … 32 32 /// </summary> 33 33 [Item("Operator Graph", "Represents a graph of operators.")] 34 [Storable Class]34 [StorableType("4F3EDAFB-5363-489B-A2E2-67AAC589CDE7")] 35 35 public class OperatorGraph : Item, IStorableContent { 36 36 public string Filename { get; set; } … … 78 78 79 79 [StorableConstructor] 80 protected OperatorGraph( bool deserializing) : base(deserializing) { }80 protected OperatorGraph(StorableConstructorFlag _) : base(_) { } 81 81 protected OperatorGraph(OperatorGraph original, Cloner cloner) 82 82 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/ParameterizedNamedItem.cs
r16453 r16462 24 24 using System.Linq; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { … … 31 31 /// </summary> 32 32 [Item("ParameterizedNamedItem", "A base class for items which have a name and contain parameters.")] 33 [Storable Class]33 [StorableType("058C7952-437D-4EA0-9F12-23E8A67C5352")] 34 34 public abstract class ParameterizedNamedItem : NamedItem, IParameterizedNamedItem { 35 35 [Storable] … … 47 47 48 48 [StorableConstructor] 49 protected ParameterizedNamedItem( bool deserializing) : base(deserializing) { }49 protected ParameterizedNamedItem(StorableConstructorFlag _) : base(_) { } 50 50 protected ParameterizedNamedItem(ParameterizedNamedItem original, Cloner cloner) 51 51 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Scope.cs
r16453 r16462 23 23 using HeuristicLab.Collections; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Core { … … 30 30 /// </summary> 31 31 [Item("Scope", "A scope which contains variables and sub-scopes.")] 32 [Storable Class]32 [StorableType("57AAC5CA-2EEF-4ECB-80DA-1B8F3B750A2B")] 33 33 public sealed class Scope : NamedItem, IScope { 34 34 public static new Image StaticItemImage { … … 60 60 61 61 [StorableConstructor] 62 private Scope( bool deserializing) : base(deserializing) { }62 private Scope(StorableConstructorFlag _) : base(_) { } 63 63 private Scope(Scope original, Cloner cloner) 64 64 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/ThreadSafeLog.cs
r16453 r16462 24 24 using System.Collections.Generic; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Core { 29 29 [Item("ThreadSafeLog", "A thread-safe log for logging string messages.")] 30 [Storable Class]30 [StorableType("0A124395-EB0B-4005-AE4C-C1828A3608CA")] 31 31 public sealed class ThreadSafeLog : Item, ILog, IStorableContent { 32 32 public string Filename { get; set; } … … 50 50 51 51 [StorableConstructor] 52 private ThreadSafeLog( bool deserializing) : base(deserializing) { }52 private ThreadSafeLog(StorableConstructorFlag _) : base(_) { } 53 53 private ThreadSafeLog(ThreadSafeLog original, Cloner cloner) 54 54 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Variable.cs
r16453 r16462 23 23 using System.Drawing; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Core { … … 30 30 /// </summary> 31 31 [Item("Variable", "A variable which has a name and holds an IItem.")] 32 [Storable Class]32 [StorableType("FF4ED8C3-C0A0-42F9-8EFF-3DC6AAD90EE7")] 33 33 public sealed class Variable : NamedItem, IVariable { 34 34 public override Image ItemImage { … … 56 56 57 57 [StorableConstructor] 58 private Variable( bool deserializing) : base(deserializing) { }58 private Variable(StorableConstructorFlag _) : base(_) { } 59 59 private Variable(Variable original, Cloner cloner) 60 60 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.