- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Parameters/3.3
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/ConstrainedValueParameter.cs
r14185 r14927 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Parameters { … … 32 32 /// </summary> 33 33 [Item("ConstrainedValueParameter", "A parameter whose value has to be chosen from a set of valid values.")] 34 [Storable Class]34 [StorableType("651e6528-3e0b-4ba1-8416-d2a259c71d59")] 35 35 public class ConstrainedValueParameter<T> : OptionalConstrainedValueParameter<T> where T : class, IItem { 36 36 public override T Value { -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/FixedValueParameter.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Parameters { … … 30 30 /// </summary> 31 31 [Item("FixedValueParameter", "A parameter whose value is defined in the parameter itself and cannot be set.")] 32 [Storable Class]33 public class FixedValueParameter<T> : ValueParameter<T>, IFixedValueParameter<T> where T : class, IItem, new() {32 [StorableType("8869cafc-b76e-45ae-83da-bd6cee24b02b")] 33 public class FixedValueParameter<T> : ValueParameter<T>, IFixedValueParameter<T> where T : class, IItem, new() { 34 34 35 35 public override T Value { -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/LookupParameter.cs
r14185 r14927 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("LookupParameter", "A parameter whose value is retrieved from or written to a scope.")] 33 [Storable Class]33 [StorableType("2a084c77-3f0c-4b98-81aa-939ade055820")] 34 34 public class LookupParameter<T> : Parameter, IStatefulItem, ILookupParameter<T> where T : class, IItem { 35 35 [Storable] -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/OperatorParameter.cs
r14185 r14927 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;24 using HeuristicLab.Persistence; 25 25 26 26 namespace HeuristicLab.Parameters { … … 29 29 /// </summary> 30 30 [Item("OperatorParameter", "A parameter which represents an operator.")] 31 [Storable Class]31 [StorableType("81eeefb7-8090-41c6-8298-63a9ff13d27d")] 32 32 public class OperatorParameter : OptionalValueParameter<IOperator> { 33 33 [StorableConstructor] -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/OptionalConstrainedValueParameter.cs
r14185 r14927 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Parameters { … … 32 32 /// </summary> 33 33 [Item("OptionalConstrainedValueParameter", "A parameter whose value has to be chosen from a set of valid values or is null.")] 34 [Storable Class]34 [StorableType("4a5d642b-38e2-462c-8592-335ae4095ce3")] 35 35 public class OptionalConstrainedValueParameter<T> : Parameter, IConstrainedValueParameter<T> where T : class, IItem { 36 36 public override Image ItemImage { … … 40 40 } 41 41 } 42 42 43 43 [Storable] 44 44 private ItemSet<T> validValues; -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
r14185 r14927 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("OptionalValueParameter", "A parameter whose value is defined in the parameter itself or is null.")] 33 [Storable Class]33 [StorableType("c4944ae4-10c8-428f-9097-452dd3fd64e3")] 34 34 public class OptionalValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem { 35 35 public override Image ItemImage { -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/Parameter.cs
r14185 r14927 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("Parameter", "A base class for parameters.")] 33 [Storable Class]33 [StorableType("72e64a56-d7e6-4a42-8227-e95a225cfa6f")] 34 34 public abstract class Parameter : NamedItem, IParameter { 35 35 public override Image ItemImage { -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/ScopeParameter.cs
r14185 r14927 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("ScopeParameter", "A parameter which represents the current scope.")] 33 [Storable Class]33 [StorableType("e4fabbd1-c06d-4e44-ab3c-785bd1e4c6b1")] 34 34 public class ScopeParameter : LookupParameter<IScope> { 35 35 public new IScope ActualValue { -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/ScopeTreeLookupParameter.cs
r14185 r14927 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Parameters { … … 32 32 /// </summary> 33 33 [Item("ScopeTreeLookupParameter", "A generic parameter representing instances of type T which are collected from or written to scope tree.")] 34 [Storable Class]34 [StorableType("d5f7a225-baa6-4537-920e-e0d39f26f665")] 35 35 public class ScopeTreeLookupParameter<T> : LookupParameter<ItemArray<T>>, IScopeTreeLookupParameter<T> where T : class, IItem { 36 36 [Storable] -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/ValueLookupParameter.cs
r14185 r14927 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("ValueLookupParameter", "A parameter whose value is either defined in the parameter itself or is retrieved from or written to a scope.")] 33 [Storable Class]33 [StorableType("56f24741-39ad-4ad1-b966-55771b328524")] 34 34 public class ValueLookupParameter<T> : LookupParameter<T>, IValueLookupParameter<T> where T : class, IItem { 35 35 public override Image ItemImage { -
branches/PersistenceReintegration/HeuristicLab.Parameters/3.3/ValueParameter.cs
r14185 r14927 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("ValueParameter", "A parameter whose value is defined in the parameter itself.")] 33 [Storable Class]33 [StorableType("fb820003-641b-4501-8cbd-dc54a7e29891")] 34 34 public class ValueParameter<T> : OptionalValueParameter<T> where T : class, IItem { 35 35 public override T Value { … … 54 54 public ValueParameter(string name, string description, T value) : base(name, description, value) { } 55 55 public ValueParameter(string name, string description, T value, bool getsCollected) : base(name, description, value, getsCollected) { } 56 56 57 57 protected T CreateDefaultValue() { 58 58 Type type = typeof(T);
Note: See TracChangeset
for help on using the changeset viewer.