Changeset 2757 for trunk/sources/HeuristicLab.Parameters/3.3/Parameter.cs
- Timestamp:
- 02/08/10 03:43:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Parameters/3.3/Parameter.cs
r2756 r2757 45 45 get { return dataType; } 46 46 } 47 public IItem ActualValue { 48 get { return GetActualValue(); } 49 set { SetActualValue(value); } 50 } 47 51 [Storable] 48 52 private ExecutionContext executionContext; 49 53 public ExecutionContext ExecutionContext { 50 54 get { return executionContext; } 51 set { executionContext = value; } 55 set { 56 if (value != executionContext) { 57 executionContext = value; 58 OnExecutionContextChanged(); 59 } 60 } 52 61 } 53 62 … … 77 86 return string.Format("{0} ({1})", Name, DataType.Name); 78 87 } 88 89 protected abstract IItem GetActualValue(); 90 protected abstract void SetActualValue(IItem value); 91 92 protected virtual void OnExecutionContextChanged() { } 79 93 } 80 94 }
Note: See TracChangeset
for help on using the changeset viewer.