Changeset 2474 for trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngine.cs
- Timestamp:
- 11/10/09 16:50:26 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngine.cs
r2111 r2474 25 25 using HeuristicLab.Core; 26 26 using System.Threading; 27 using System.IO; 28 using System.Xml; 29 using System.IO.Compression; 30 using HeuristicLab.Common; 27 31 using HeuristicLab.Hive.JobBase; 28 32 using HeuristicLab.Hive.Contracts.Interfaces; … … 30 34 using HeuristicLab.PluginInfrastructure; 31 35 using HeuristicLab.Hive.Contracts.BusinessObjects; 32 using System.IO;33 using System.Xml;34 using System.IO.Compression;35 36 using HeuristicLab.Tracing; 36 37 … … 256 257 } 257 258 258 public event EventHandler< OperationEventArgs> OperationExecuted;259 public event EventHandler<EventArgs<IOperation>> OperationExecuted; 259 260 /// <summary> 260 261 /// Fires a new <c>OperationExecuted</c> event. … … 263 264 protected virtual void OnOperationExecuted(IOperation operation) { 264 265 if (OperationExecuted != null) 265 OperationExecuted(this, new OperationEventArgs(operation));266 } 267 268 public event EventHandler<E xceptionEventArgs> ExceptionOccurred;266 OperationExecuted(this, new EventArgs<IOperation>(operation)); 267 } 268 269 public event EventHandler<EventArgs<Exception>> ExceptionOccurred; 269 270 /// <summary> 270 271 /// Aborts the execution and fires a new <c>ExceptionOccurred</c> event. … … 274 275 Abort(); 275 276 if (ExceptionOccurred != null) 276 ExceptionOccurred(this, new E xceptionEventArgs(exception));277 ExceptionOccurred(this, new EventArgs<Exception>(exception)); 277 278 } 278 279
Note: See TracChangeset
for help on using the changeset viewer.