Class ThreadPoolWorkItemFactory
Represents factory of thread pool work items.
Inheritance
ThreadPoolWorkItemFactory
Assembly: DotNext.dll
Syntax
[CLSCompliant(false)]
public static class ThreadPoolWorkItemFactory
Methods
View Source
Create<T>(delegate*<T, void>, T)
Declaration
public static IThreadPoolWorkItem Create<T>(delegate*<T, void> workItem, T arg)
Parameters
| Type |
Name |
Description |
| delegate*<T, void> |
workItem |
|
| T |
arg |
|
Returns
Type Parameters
View Source
Create<T1, T2>(delegate*<T1, T2, void>, T1, T2)
Declaration
public static IThreadPoolWorkItem Create<T1, T2>(delegate*<T1, T2, void> workItem, T1 arg1, T2 arg2)
Parameters
| Type |
Name |
Description |
| delegate*<T1, T2, void> |
workItem |
|
| T1 |
arg1 |
|
| T2 |
arg2 |
|
Returns
Type Parameters
View Source
Create<T1, T2, T3>(delegate*<T1, T2, T3, void>, T1, T2, T3)
Declaration
public static IThreadPoolWorkItem Create<T1, T2, T3>(delegate*<T1, T2, T3, void> workItem, T1 arg1, T2 arg2, T3 arg3)
Parameters
| Type |
Name |
Description |
| delegate*<T1, T2, T3, void> |
workItem |
|
| T1 |
arg1 |
|
| T2 |
arg2 |
|
| T3 |
arg3 |
|
Returns
Type Parameters
| Name |
Description |
| T1 |
|
| T2 |
|
| T3 |
|