- Timestamp:
- 05/14/11 16:45:46 (13 years ago)
- Location:
- branches/histogram
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/histogram
-
branches/histogram/HeuristicLab.Parameters/3.3/Parameter.cs
r5768 r6195 33 33 [Item("Parameter", "A base class for parameters.")] 34 34 [StorableClass] 35 public abstract class Parameter : NamedItem, IParameter {35 public abstract class Parameter : NamedItem, IParameter, IStatefulItem { 36 36 public override Image ItemImage { 37 37 get { … … 126 126 } 127 127 128 public virtual void InitializeState() { } 129 public virtual void ClearState() { 130 cachedActualValues = new Lazy<ThreadLocal<IItem>>(() => { return new ThreadLocal<IItem>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 131 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 132 } 133 128 134 public override string ToString() { 129 135 return Name;
Note: See TracChangeset
for help on using the changeset viewer.