ActionExtensions.Debounce Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Debounce(Action, Int32) | |
Debounce<T>(Action<T>, Int32) |
Debounce(Action, Int32)
public static Action Debounce(this Action targetAction, int milliseconds = 300);
static member Debounce : Action * int -> Action
<Extension()>
Public Function Debounce (targetAction As Action, Optional milliseconds As Integer = 300) As Action
Paramètres
- targetAction
- Action
- milliseconds
- Int32
Retours
S’applique à
Debounce<T>(Action<T>, Int32)
public static Action<T> Debounce<T>(this Action<T> func, int milliseconds = 300);
static member Debounce : Action<'T> * int -> Action<'T>
<Extension()>
Public Function Debounce(Of T) (func As Action(Of T), Optional milliseconds As Integer = 300) As Action(Of T)
Paramètres de type
- T
Paramètres
- func
- Action<T>
- milliseconds
- Int32
Retours
Action<T>
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET