Class WindowCount
Represents an operator that projects each element of an observable sequence into zero or more windows based on element count information.
WindowCount
groups the notifications of the source sequence into new observable sequences containing the number of elements specified in the Count property. The overlap between the elements in each window can be controlled using the Skip property.
If no skip value is provided, the windows will be strictly non-overlapping, with a new window beginning when the previous window ends. If the skip value is less than the specified number of elements, windows will be overlapping, with a new window created every Skip
notifications. Finally, if the skip value is greater than the specified number of elements, there will be a gap between each window where elements from the source sequence will be dropped.
public class WindowCount : WindowCombinator
- Inheritance
-
WindowCount
- Inherited Members
Properties
- Count
Gets or sets the maximum number of elements in each window.
- Skip
Gets or sets the number of elements to skip between the creation of consecutive windows.
Methods
- Process<TSource>(IObservable<TSource>)
Projects each element of an observable sequence into zero or more windows based on element count information.