Changeset 9894 for trunk/sources/HeuristicLab.MainForm/3.3/Interfaces
- Timestamp:
- 08/22/13 11:31:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm/3.3/Interfaces/IProgress.cs
r9893 r9894 41 41 /// If it is reused it may be Started again. 42 42 /// </summary> 43 ProgressState ProgressState { get; set;}43 ProgressState ProgressState { get; } 44 44 /// <summary> 45 45 /// Returns whether the operation can be canceled or not. … … 54 54 /// </summary> 55 55 /// <exception cref="NotSupportedException">Thrown when cancellation is not supported.</exception> 56 /// <param name="timeoutMs">The operation is given a certain timeout to cancel. If the operation doesn't cancel in this time it will be forcibly closed.</param> 57 void Cancel(int timeoutMs = 0); 56 void Cancel(); 58 57 /// <summary> 59 58 /// Sets the ProgressValue to 1 and the ProgressState to Finished. … … 61 60 void Finish(); 62 61 62 /// <summary> 63 /// Starts or restarts a Progress. 64 /// </summary> 65 void Start(); 66 63 67 void Start(string status); 64 65 void Start();66 68 67 69 /// <summary> … … 82 84 event EventHandler CanBeCanceledChanged; 83 85 /// <summary> 84 /// A cancelation is requested with a certain timeout (in ms) in which it should occur gracefully. If the timeout is surpassed, it should be forcibly canceled.86 /// A cancelation is requested. 85 87 /// </summary> 86 event EventHandler <EventArgs<int>>CancelRequested;88 event EventHandler CancelRequested; 87 89 } 88 90 }
Note: See TracChangeset
for help on using the changeset viewer.