Changeset 13404 for branches/ProblemRefactoring/HeuristicLab.Parameters
- Timestamp:
- 11/26/15 09:30:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Parameters/3.3/LookupParameter.cs
r12012 r13404 85 85 : base(original, cloner) { 86 86 actualName = original.actualName; 87 this.Hidden = original.Hidden; 87 88 cachedActualValues = new Lazy<ThreadLocal<IItem>>(() => { return new ThreadLocal<IItem>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 88 89 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); … … 91 92 : base("Anonymous", typeof(T)) { 92 93 this.actualName = Name; 93 this.Hidden = true;94 this.Hidden = false; 94 95 cachedActualValues = new Lazy<ThreadLocal<IItem>>(() => { return new ThreadLocal<IItem>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 95 96 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); … … 98 99 : base(name, typeof(T)) { 99 100 this.actualName = Name; 100 this.Hidden = true;101 this.Hidden = false; 101 102 cachedActualValues = new Lazy<ThreadLocal<IItem>>(() => { return new ThreadLocal<IItem>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 102 103 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); … … 105 106 : base(name, description, typeof(T)) { 106 107 this.actualName = Name; 107 this.Hidden = true;108 this.Hidden = false; 108 109 cachedActualValues = new Lazy<ThreadLocal<IItem>>(() => { return new ThreadLocal<IItem>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 109 110 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); … … 112 113 : base(name, description, typeof(T)) { 113 114 this.actualName = string.IsNullOrWhiteSpace(actualName) ? Name : actualName; 114 this.Hidden = true;115 this.Hidden = false; 115 116 cachedActualValues = new Lazy<ThreadLocal<IItem>>(() => { return new ThreadLocal<IItem>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 116 117 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication);
Note: See TracChangeset
for help on using the changeset viewer.