Class DebounceDispatcher
Namespace: Aurigma.DesignAtoms.Common
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class DebounceDispatcher
Inheritance: System.Object -> DebounceDispatcher
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
DebounceDispatcher
public DebounceDispatcher()
Methods
Debounce
public void Debounce(int interval, Action<object> action, object param = null)
Parameters
| Type | Name | Description |
|---|---|---|
System.Int32 | interval | |
System.Action<System.Object> | action | |
System.Object | param |
Throttle
public void Throttle(int interval, Action<object> action, object param = null)
Parameters
| Type | Name | Description |
|---|---|---|
System.Int32 | interval | |
System.Action<System.Object> | action | |
System.Object | param |