C# Class Esri.ArcGISRuntime.Toolkit.Internal.ThrottleTimer

The throttle timer is useful for limiting the number of requests to a method if the method is repeatedly called many times but you only want the method raised once. It delays raising the method until a set interval, and any previous calls to the actions in that interval will be cancelled.
ファイルを表示 Open project: Esri/arcgis-toolkit-dotnet Class Usage Examples

Public Methods

Method Description
Invoke ( ) : void

Invokes this instance (note that this will happen asynchronously and delayed).

Private Methods

Method Description
Cancel ( ) : void

Cancels this timer if running.

ThrottleTimer ( int milliseconds ) : System
ThrottleTimer ( int milliseconds, System.Action handler ) : System

Initializes a new instance of the ThrottleTimer class.

Method Details

Invoke() public method

Invokes this instance (note that this will happen asynchronously and delayed).
public Invoke ( ) : void
return void