ActionExtensions.Debounce Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- targetAction
- Action
- milliseconds
- Int32
Returns
Applies to
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)
Type Parameters
- T
Parameters
- func
- Action<T>
- milliseconds
- Int32
Returns
Action<T>
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.
Azure SDK for .NET