Table of Contents

Class DebouncedEventArgs

Namespace
Dorssel.Utilities
Assembly
Dorssel.Utilities.Debounce.dll

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

count long

The number of triggers accumulated since the previous event was sent.

Must be greater than 0.

Exceptions

ArgumentOutOfRangeException

Thrown when count is not greater than 0.

DebouncedEventArgs(long, bool)

Initializes a new instance of the DebouncedEventArgs class.

protected DebouncedEventArgs(long count, bool boundsCheck)

Parameters

count long

The number of triggers accumulated since the previous event was sent.

Must be greater than 0 if boundsCheck is true.

boundsCheck bool

If 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 boundsCheck is false.

Properties

Count

The number of triggers accumulated since the previous event was sent.

public long Count { get; }

Property Value

long

Remarks

The value will always greater than 0.