Changeset 9849 for trunk/sources/HeuristicLab.MainForm/3.3
- Timestamp:
- 08/05/13 16:16:31 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.MainForm/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm/3.3/Interfaces/IProgress.cs
r9456 r9849 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. 42 42 /// </summary> 43 ProgressState ProgressState { get; }43 ProgressState ProgressState { get; set; } 44 44 /// <summary> 45 45 /// Returns whether the operation can be canceled or not. … … 56 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 57 void Cancel(int timeoutMs); 58 /// <summary> 59 /// Sets the ProgressValue to 1 and the ProgressState to Finished. 60 /// </summary> 61 void Finish(); 58 62 59 63 /// <summary> -
trunk/sources/HeuristicLab.MainForm/3.3/Progress.cs
r9456 r9849 86 86 } 87 87 88 /// <summary>89 /// Sets the ProgressValue to 1 and the ProgressState to Finished.90 /// </summary>91 88 public void Finish() { 92 89 if (ProgressValue != 1.0) ProgressValue = 1.0;
Note: See TracChangeset
for help on using the changeset viewer.