Changeset 2740 for trunk/sources/HeuristicLab.Parameters/3.3/Parameter.cs
- Timestamp:
- 02/03/10 04:43:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Parameters/3.3/Parameter.cs
r2714 r2740 29 29 namespace HeuristicLab.Parameters { 30 30 /// <summary> 31 /// Represents a parameter.31 /// A base class for parameters. 32 32 /// </summary> 33 33 [Item("Parameter", "A base class for parameters.")] … … 45 45 get { return dataType; } 46 46 } 47 [Storable] 48 private ExecutionContext executionContext; 49 public ExecutionContext ExecutionContext { 50 get { return executionContext; } 51 set { executionContext = value; } 52 } 47 53 48 54 protected Parameter() … … 56 62 } 57 63 58 public abstract IItem GetValue(ExecutionContext context);59 60 64 public override IDeepCloneable Clone(Cloner cloner) { 61 65 Parameter clone = (Parameter)base.Clone(cloner); 62 66 clone.dataType = dataType; 67 clone.executionContext = (ExecutionContext)cloner.Clone(executionContext); 63 68 return clone; 64 69 }
Note: See TracChangeset
for help on using the changeset viewer.