The Tqdm class offers utility functions to wrap collections and enumerables with a ProgressBar, providing a simple and effective way to track and display progress in console applications for various iterative operations.
TqdmWrapper
00 Remarks
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Wrap | 4 | Wraps a collection with a progress bar for iteration and provides the progress bar instance for external control (like custom labels). |
| StreamReader | 1 | |
| Range | 1 | Generates a sequence of integral numbers within a specified range. |
| Wrap | 4 | |
| WrapIterator | 1 | |
| WrapStreamReader | 1 |
03 Members
ICollection(Of ``0), Int32, Int32, Boolean, Boolean)Wraps a collection with a progress bar for iteration, providing visual feedback on progress.
| Name | Type | Description |
|---|---|---|
collection | ICollection(Of ``0) | The collection to iterate over. |
width | Int32 | The width of the progress bar. |
printsPerSecond | Int32 | The update frequency of the progress bar. |
useColor | Boolean | Indicates whether to use colored output for the progress bar. |
An enumerable that iterates over the collection with progress tracking.
IEnumerable(Of ``0), Int32, Int32, Int32, Boolean, Boolean)Wraps an enumerable with a specified total count with a progress bar for iteration, providing visual feedback on progress.
| Name | Type | Description |
|---|---|---|
enumerable | IEnumerable(Of ``0) | The enumerable to iterate over. |
total | Int32 | The total number of expected items in the enumerable. |
width | Int32 | The width of the progress bar. |
printsPerSecond | Int32 | The update frequency of the progress bar. |
useColor | Boolean | Indicates whether to use colored output for the progress bar. |
An enumerable that iterates over the collection with progress tracking.
Wraps a collection with a progress bar for iteration and provides the progress bar instance for external control (like custom labels).
| Name | Type | Description |
|---|---|---|
collection | ICollection(Of ``0) | The collection to iterate over. |
bar | ProgressBar | The progress bar instance used for tracking. |
width | Int32 | The width of the progress bar. |
printsPerSecond | Int32 | The update frequency of the progress bar. |
useColor | Boolean | Indicates whether to use colored output for the progress bar. |
An enumerable that iterates over the collection with progress tracking.
Wraps an enumerable with a specified total count with a progress bar for iteration and provides the progress bar instance for external control (like custom labels).
| Name | Type | Description |
|---|---|---|
enumerable | IEnumerable(Of ``0) | The enumerable to iterate over. |
total | Int32 | The total number of items in the enumerable. |
bar | ProgressBar | The progress bar instance used for tracking. |
width | Int32 | The width of the progress bar. |
printsPerSecond | Int32 | The update frequency of the progress bar. |
useColor | Boolean | Indicates whether to use colored output for the progress bar. |
An enumerable that iterates over the collection with progress tracking.
StreamReader)| Name | Type | Description |
|---|---|---|
str | StreamReader | - |
this function returns a string line populator function, each time call this result function pointer will populate a new line and move to next line. if this function returns nothing, that it means read the end of the stream.
Generates a sequence of integral numbers within a specified range.
| Name | Type | Description |
|---|---|---|
start | Int32 | The value of the first integer in the sequence. |
count | Int32 | The number of sequential integers to generate. |
bar | ProgressBar | - |
width | Int32 | - |
printsPerSecond | Int32 | - |
useColor | Boolean | - |
a range of sequential integral numbers.
ICollection(Of T), Int32, Int32, Boolean, Boolean)IEnumerable(Of T), Int32, Int32, Int32, Boolean, Boolean)Int32, Int32, Int32, Boolean)Int64, TqdmWrapper+RequestStreamProgressLocation(Of T))