Class DebouncedEventArgs
Provides data for the Debounced event.
public class DebouncedEventArgs : EventArgs
- Inheritance
-
DebouncedEventArgs
- Derived
- Inherited Members
Constructors
DebouncedEventArgs(long)
Initializes a new instance of the DebouncedEventArgs class.
public DebouncedEventArgs(long count)
Parameters
countlongThe number of triggers accumulated since the previous event was sent.
Must be greater than 0.
Exceptions
- ArgumentOutOfRangeException
Thrown when
countis not greater than 0.
DebouncedEventArgs(long, bool)
Initializes a new instance of the DebouncedEventArgs class.
protected DebouncedEventArgs(long count, bool boundsCheck)
Parameters
countlongThe number of triggers accumulated since the previous event was sent.
Must be greater than 0 if
boundsCheckistrue.boundsCheckboolIf
false, the parameters are not checked to be within their valid range.
Exceptions
- ArgumentOutOfRangeException
Thrown when count is not greater than 0.
This exception is not thrown if
boundsCheckis false.
Properties
Count
The number of triggers accumulated since the previous event was sent.
public long Count { get; }
Property Value
Remarks
The value will always greater than 0.