Changeset 6195 for branches/histogram/HeuristicLab.Operators/3.3
- Timestamp:
- 05/14/11 16:45:46 (13 years ago)
- Location:
- branches/histogram
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/histogram
-
branches/histogram/HeuristicLab.Operators/3.3/HeuristicLabOperatorsPlugin.cs.frame
r5446 r6195 26 26 /// Plugin class for HeuristicLab.Operators plugin. 27 27 /// </summary> 28 [Plugin("HeuristicLab.Operators", "3.3. 3.$WCREV$")]28 [Plugin("HeuristicLab.Operators", "3.3.4.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Operators-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Collections", "3.3")] -
branches/histogram/HeuristicLab.Operators/3.3/Operator.cs
r5445 r6195 33 33 [Item("Operator", "Base class for operators.")] 34 34 [StorableClass] 35 public abstract class Operator : ParameterizedNamedItem, IOperator {35 public abstract class Operator : ParameterizedNamedItem, IOperator, IStatefulItem { 36 36 public override Image ItemImage { 37 37 get { … … 107 107 } 108 108 109 public virtual void InitializeState() { } 110 public virtual void ClearState() { 111 executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication); 112 } 113 109 114 public virtual IOperation Execute(IExecutionContext context, CancellationToken cancellationToken) { 110 115 try { … … 116 121 OnExecuted(); 117 122 return next; 118 } finally { 123 } 124 finally { 119 125 foreach (IParameter param in Parameters) 120 126 param.ExecutionContext = null; -
branches/histogram/HeuristicLab.Operators/3.3/Properties/AssemblyInfo.frame
r5446 r6195 54 54 // by using the '*' as shown below: 55 55 [assembly: AssemblyVersion("3.3.0.0")] 56 [assembly: AssemblyFileVersion("3.3. 3.$WCREV$")]56 [assembly: AssemblyFileVersion("3.3.4.$WCREV$")]
Note: See TracChangeset
for help on using the changeset viewer.