Changeset 9933 for stable/HeuristicLab.MainForm/3.3/Interfaces
- Timestamp:
- 09/03/13 15:55:36 (11 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 9849,9851,9865,9867-9868,9893-9896,9900-9901,9905,9907
- Property svn:mergeinfo changed
-
stable/HeuristicLab.MainForm/3.3/Interfaces/IProgress.cs
r9456 r9933 28 28 public interface IProgress : IContent { 29 29 /// <summary> 30 /// Gets the currently associated status text with the progress.30 /// Gets or sets the currently associated status text with the progress. 31 31 /// </summary> 32 string Status { get; }32 string Status { get; set; } 33 33 /// <summary> 34 /// Gets the currently associated progress value in the range (0;1].34 /// Gets or sets the currently associated progress value in the range (0;1]. 35 35 /// Values outside this range are permitted and need to be handled in some feasible manner. 36 36 /// </summary> 37 double ProgressValue { get; }37 double ProgressValue { get; set; } 38 38 /// <summary> 39 /// Gets the current state of the progress. Every progress starts in state39 /// Gets or sets the current state of the progress. Every progress starts in state 40 40 /// Started and then becomes either Canceled or Finished. 41 41 /// If it is reused it may be Started again. … … 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); 56 void Cancel(); 57 /// <summary> 58 /// Sets the ProgressValue to 1 and the ProgressState to Finished. 59 /// </summary> 60 void Finish(); 61 62 /// <summary> 63 /// Starts or restarts a Progress. 64 /// </summary> 65 void Start(); 66 67 void Start(string status); 58 68 59 69 /// <summary> … … 74 84 event EventHandler CanBeCanceledChanged; 75 85 /// <summary> 76 /// 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. 77 87 /// </summary> 78 event EventHandler <EventArgs<int>>CancelRequested;88 event EventHandler CancelRequested; 79 89 } 80 90 }
Note: See TracChangeset
for help on using the changeset viewer.