- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/ConstrainedValueParameter.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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("A9B43259-2687-4AE8-9803-B58CE01B81EE")] 35 35 public class ConstrainedValueParameter<T> : OptionalConstrainedValueParameter<T> where T : class, IItem { 36 36 public override T Value { … … 43 43 44 44 [StorableConstructor] 45 protected ConstrainedValueParameter( bool deserializing) : base(deserializing) { }45 protected ConstrainedValueParameter(StorableConstructorFlag _) : base(_) { } 46 46 protected ConstrainedValueParameter(ConstrainedValueParameter<T> original, Cloner cloner) : base(original, cloner) { } 47 47 public ConstrainedValueParameter() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/FixedValueParameter.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 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]32 [StorableType("7787B99D-5F32-4639-B47A-76CB4D204392")] 33 33 public class FixedValueParameter<T> : ValueParameter<T>, IFixedValueParameter<T> where T : class,IItem, new() { 34 34 … … 41 41 42 42 [StorableConstructor] 43 protected FixedValueParameter( bool deserializing) : base(deserializing) { }43 protected FixedValueParameter(StorableConstructorFlag _) : base(_) { } 44 44 protected FixedValueParameter(FixedValueParameter<T> original, Cloner cloner) : base(original, cloner) { } 45 45 -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/HeuristicLab.Parameters-3.3.csproj
r16454 r16462 108 108 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 109 109 </Reference> 110 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">110 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 111 111 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 112 112 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/LookupParameter.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 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("84FE5F33-94B8-4E30-B1CB-CD15314FB83B")] 34 34 public class LookupParameter<T> : Parameter, IStatefulItem, ILookupParameter<T> where T : class, IItem { 35 35 [Storable] … … 78 78 79 79 [StorableConstructor] 80 protected LookupParameter(bool deserializing) 81 : base(deserializing) { 80 protected LookupParameter(StorableConstructorFlag _) : base(_) { 82 81 cachedActualValues = new Lazy<ThreadLocal<IItem>>(() => { return new ThreadLocal<IItem>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 83 82 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/OperatorParameter.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 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("59C86C8F-CAE1-45FE-A17C-837925284D93")] 32 32 public class OperatorParameter : OptionalValueParameter<IOperator> { 33 33 [StorableConstructor] 34 protected OperatorParameter( bool deserializing) : base(deserializing) { }34 protected OperatorParameter(StorableConstructorFlag _) : base(_) { } 35 35 protected OperatorParameter(OperatorParameter original, Cloner cloner) : base(original, cloner) { } 36 36 public OperatorParameter() : base("Anonymous") { } -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/OptionalConstrainedValueParameter.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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("9B2BFAE8-CD6E-499C-83A0-401B6CEE3A08")] 35 35 public class OptionalConstrainedValueParameter<T> : Parameter, IConstrainedValueParameter<T> where T : class, IItem { 36 36 public override Image ItemImage { … … 88 88 #region Constructors 89 89 [StorableConstructor] 90 protected OptionalConstrainedValueParameter( bool deserializing) : base(deserializing) { }90 protected OptionalConstrainedValueParameter(StorableConstructorFlag _) : base(_) { } 91 91 protected OptionalConstrainedValueParameter(OptionalConstrainedValueParameter<T> original, Cloner cloner) 92 92 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 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("1A825EE0-3A72-458C-B621-7CE989EE2F0D")] 34 34 public class OptionalValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem { 35 35 public override Image ItemImage { … … 104 104 #region Constructors 105 105 [StorableConstructor] 106 protected OptionalValueParameter( bool deserializing) : base(deserializing) { }106 protected OptionalValueParameter(StorableConstructorFlag _) : base(_) { } 107 107 protected OptionalValueParameter(OptionalValueParameter<T> original, Cloner cloner) 108 108 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/Parameter.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Parameters { … … 31 31 /// </summary> 32 32 [Item("Parameter", "A base class for parameters.")] 33 [Storable Class]33 [StorableType("EB8A33BD-466A-4035-8544-8F86E5FDA458")] 34 34 public abstract class Parameter : NamedItem, IParameter { 35 35 public override Image ItemImage { … … 72 72 73 73 [StorableConstructor] 74 protected Parameter(bool deserializing) 75 : base(deserializing) { 74 protected Parameter(StorableConstructorFlag _) : base(_) { 76 75 } 77 76 protected Parameter(Parameter original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/ScopeParameter.cs
r16453 r16462 21 21 22 22 using System; 23 using System.Threading;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 27 26 28 27 namespace HeuristicLab.Parameters { … … 31 30 /// </summary> 32 31 [Item("ScopeParameter", "A parameter which represents the current scope.")] 33 [Storable Class]32 [StorableType("6A25C2F9-B184-4870-88B4-C16BF8534BD4")] 34 33 public class ScopeParameter : LookupParameter<IScope> { 35 34 public new IScope ActualValue { … … 39 38 40 39 [StorableConstructor] 41 protected ScopeParameter( bool deserializing) : base(deserializing) { }40 protected ScopeParameter(StorableConstructorFlag _) : base(_) { } 42 41 protected ScopeParameter(ScopeParameter original, Cloner cloner) : base(original, cloner) { } 43 42 public ScopeParameter() -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/ScopeTreeLookupParameter.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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("51F36637-C22C-4CDC-B34B-F49CA7896E35")] 35 35 public class ScopeTreeLookupParameter<T> : LookupParameter<ItemArray<T>>, IScopeTreeLookupParameter<T> where T : class, IItem { 36 36 [Storable] … … 48 48 49 49 [StorableConstructor] 50 protected ScopeTreeLookupParameter( bool deserializing) : base(deserializing) { }50 protected ScopeTreeLookupParameter(StorableConstructorFlag _) : base(_) { } 51 51 protected ScopeTreeLookupParameter(ScopeTreeLookupParameter<T> original, Cloner cloner) 52 52 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/ValueLookupParameter.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 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("B34BB41A-CF50-4275-9BCD-1861EBA7C58F")] 34 34 public class ValueLookupParameter<T> : LookupParameter<T>, IValueLookupParameter<T> where T : class, IItem { 35 35 public override Image ItemImage { … … 80 80 #region Constructors 81 81 [StorableConstructor] 82 protected ValueLookupParameter( bool deserializing) : base(deserializing) { }82 protected ValueLookupParameter(StorableConstructorFlag _) : base(_) { } 83 83 protected ValueLookupParameter(ValueLookupParameter<T> original, Cloner cloner) 84 84 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Parameters/3.3/ValueParameter.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 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("CB9B83B6-DE2B-45CC-AB0B-C551E1A6E0BD")] 34 34 public class ValueParameter<T> : OptionalValueParameter<T> where T : class, IItem { 35 35 public override T Value { … … 42 42 43 43 [StorableConstructor] 44 protected ValueParameter( bool deserializing) : base(deserializing) { }44 protected ValueParameter(StorableConstructorFlag _) : base(_) { } 45 45 protected ValueParameter(ValueParameter<T> original, Cloner cloner) : base(original, cloner) { } 46 46
Note: See TracChangeset
for help on using the changeset viewer.