|
Joutsen v0.5.0+18-g5fdf104
|
A class that can inform registered listeners about the percentage of iterated items of an enumerable. More...
Public Member Functions | |
| ProgressableEnumerable (IEnumerable< ItemType > enumerable, int numberOfElements) | |
| Creates a new instance for an existing enumerable. | |
| IEnumerator< ItemType > | GetEnumerator () |
| Fetches the enumerator. | |
Public Member Functions inherited from Joutsen.Progress | |
| Progress (double total) | |
| Creates a new instance for a predefined total value. | |
| virtual void | Update (double completed) |
| Advances the progress to the value represented by @paramref completed. | |
| virtual void | Reset () |
| Resets the progress state for a restart. | |
| void | Dispose () |
| Frees bound resources. | |
Protected Attributes | |
| IEnumerable< ItemType > | enumerable |
Protected Attributes inherited from Joutsen.Progress | |
| double | total |
| The total value that the process can reach. | |
| double | completed |
| The completed amount or current progress. | |
| String | description |
| The description of progress. | |
Additional Inherited Members | |
Protected Member Functions inherited from Joutsen.Progress | |
| void | FireProgressChanged (double completed, double total, double progress) |
| Informs the registered listeners about a change in progress. | |
| void | FireDescriptionChanged (string description) |
| Informs the registered listeners about a change in the description. | |
Properties inherited from Joutsen.Progress | |
| String | Description [get, set] |
| The description of progress. | |
Events inherited from Joutsen.Progress | |
| Action< double, double, double > | ProgressChanged |
| An event that informs listeners about a change in the progress. | |
| Action< String > | DescriptionChanged |
| An event that informs listeners about a change in the description. | |
A class that can inform registered listeners about the percentage of iterated items of an enumerable.
| Joutsen.ProgressableEnumerable< ItemType >.ProgressableEnumerable | ( | IEnumerable< ItemType > | enumerable, |
| int | numberOfElements | ||
| ) |
Creates a new instance for an existing enumerable.
| enumerable | the enumerable |
| numerOfElements | the total number of elements in the enumerable |
| IEnumerator< ItemType > Joutsen.ProgressableEnumerable< ItemType >.GetEnumerator | ( | ) |
Fetches the enumerator.
|
protected |