Changeset 1765 for branches/eraser6/CodeReview/Eraser.Manager/Task.cs
- Timestamp:
- 2/8/2010 6:44:59 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview/Eraser.Manager/Task.cs
r1745 r1765 226 226 /// The task has been edited. 227 227 /// </summary> 228 public EventHandler <TaskEventArgs>TaskEdited { get; set; }228 public EventHandler TaskEdited { get; set; } 229 229 230 230 /// <summary> 231 231 /// The start of the execution of a task. 232 232 /// </summary> 233 public EventHandler <TaskEventArgs>TaskStarted { get; set; }233 public EventHandler TaskStarted { get; set; } 234 234 235 235 /// <summary> … … 241 241 /// The completion of the execution of a task. 242 242 /// </summary> 243 public EventHandler <TaskEventArgs>TaskFinished { get; set; }243 public EventHandler TaskFinished { get; set; } 244 244 245 245 /// <summary> … … 249 249 { 250 250 if (TaskEdited != null) 251 TaskEdited(this, new TaskEventArgs(this));251 TaskEdited(this, EventArgs.Empty); 252 252 } 253 253 … … 255 255 /// Broadcasts the task execution start event. 256 256 /// </summary> 257 /// <param name="e"></param> 258 internal void OnTaskStarted(TaskEventArgs e) 257 internal void OnTaskStarted() 259 258 { 260 259 if (TaskStarted != null) 261 TaskStarted(this, e);260 TaskStarted(this, EventArgs.Empty); 262 261 Executing = true; 263 262 Progress = new SteppedProgressManager(); … … 294 293 /// Broadcasts the task execution completion event. 295 294 /// </summary> 296 /// <param name="e"></param> 297 internal void OnTaskFinished(TaskEventArgs e) 295 internal void OnTaskFinished() 298 296 { 299 297 if (TaskFinished != null) 300 TaskFinished(this, e);298 TaskFinished(this, EventArgs.Empty); 301 299 Executing = false; 302 300 Progress = null;
Note: See TracChangeset
for help on using the changeset viewer.
