Click or drag to resize
EventThrottlerTElement, TEventArgs Constructor (ISynchronizeInvoke, Int32)

Namespace:  SD.Tools.Algorithmia.GeneralDataStructures
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.16.0406)
Syntax
public EventThrottler(
	ISynchronizeInvoke synchronizingObject,
	int interval
)

Parameters

synchronizingObject
Type: System.ComponentModelISynchronizeInvoke
The synchronizing object. If null, the EventThrottled event might be raised by a different thread, as the System timer used for queue processing is using a threadpool in that case. If the handler has to run on the same thread as the UI, specify a UI object as synchronizingObject, e.g. a form object or control object on which this throttler is used.
interval
Type: SystemInt32
The interval, in milliseconds. If smaller than 100, it's set to 500
Remarks
Uses the default comparer
See Also