Compartir a través de


ActionExtensions.Debounce Método

Definición

Sobrecargas

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

Parámetros

targetAction
Action
milliseconds
Int32

Devoluciones

Se aplica a

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)

Parámetros de tipo

T

Parámetros

func
Action<T>
milliseconds
Int32

Devoluciones

Action<T>

Se aplica a