More...
|
| | RollingWindow (long maxSize) |
| | Create a rolling window of max size maxSize.
|
| |
| void | Add (T item) |
| | Add an item to the window, will discard any old items which exceed the configured window length.- Parameters
-
|
| |
|
void | Dispose () |
| |
|
IEnumerator< T > | GetEnumerator () |
| |
|
| long | MaxSize [get, set] |
| | Get or set the maximum size for this window. If you set the MaxSize after construction to a value smaller than before and the RollingWindow is already at capacity, extraneous items will be trimmed.
|
| |
◆ RollingWindow()
Create a rolling window of max size maxSize.
- Parameters
-
- Exceptions
-
◆ Add()
◆ MaxSize
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/RollingWindow.cs