API ReferenceSandbox.Utility
Parallelclass
Wrappers of the parallel class.
object→Parallel
Methods4
Showing 4 methods
public static bool For(int fromInclusive, int toExclusive, System.Action`1<int> body)
| Parameter | Type | Description |
|---|---|---|
| fromInclusive | int | — |
| toExclusive | int | — |
| body | Action<int> | — |
Returns:
bool—public static System.Threading.Tasks.Task ForAsync(int fromInclusive, int toExclusive, System.Threading.CancellationToken token, System.Func`3<int,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask> body)
| Parameter | Type | Description |
|---|---|---|
| fromInclusive | int | — |
| toExclusive | int | — |
| token | CancellationToken | — |
| body | Func<int,CancellationToken,ValueTask> | — |
Returns:
Task—No results match this filter.