Interface IProgressIndicator
Contract that reports information each iteration
Namespace: Onbox.Abstractions.V8
Assembly: Onbox.Abstractions.dll
Syntax
public interface IProgressIndicator
Methods
| Improve this Doc View SourceFinishedSuccessfully()
Indicates if the process has finished and was successful
Declaration
bool FinishedSuccessfully()
Returns
Type | Description |
---|---|
System.Boolean |
Iterate(String)
Adds one iteration to the process with a given message
Declaration
void Iterate(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Reset(Int32)
Resets the progress
Declaration
void Reset(int total)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | total |
Run(Int32, Boolean, Action)
Runs progress action
Declaration
void Run(int total, bool canCancel, Action action)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | total | |
System.Boolean | canCancel | |
System.Action | action |