Class ReactFactory
Factory used to create reactive classes
Inheritance
System.Object
ReactFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Onbox.Core.V8.ReactFactory
Assembly: Onbox.Core.dll
Syntax
public static class ReactFactory
Methods
| Improve this Doc View SourceDebouncer()
Onbox Debouncer runs an action after a particular time span has passed without another action is fired
Declaration
public static Debouncer Debouncer()
Returns
Type | Description |
---|---|
Debouncer |
Interval(Action, Int32, Nullable<Int32>)
Runs an action sequential times every specified interval of time. It is possible to specify maximum runs as well
Declaration
public static Interval Interval(Action action, int interval, int? maxRuns = default(int? ))
Parameters
Type | Name | Description |
---|---|---|
System.Action | action | |
System.Int32 | interval | |
System.Nullable<System.Int32> | maxRuns |
Returns
Type | Description |
---|---|
Interval |
Interval(Action<Int32>, Int32, Nullable<Int32>)
Runs an action sequential times every specified interval of time and shows the number of times ran. It is possible to specify maximum runs as well
Declaration
public static Interval Interval(Action<int> action, int interval, int? maxRuns = default(int? ))
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.Int32> | action | |
System.Int32 | interval | |
System.Nullable<System.Int32> | maxRuns |
Returns
Type | Description |
---|---|
Interval |