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.
Afficher le fichier Open project: Esri/arcgis-toolkit-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
Invoke ( ) : void

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

Private Methods

Méthode 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 méthode

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