Class ThreadSwitcherToNewTask<T>
public class ThreadSwitcherToNewTask<T> : IThreadSwitcher<T>
Type Parameters
T
- Inheritance
-
ThreadSwitcherToNewTask<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
ThreadSwitcherToNewTask(ILog)
[Obsolete]
public ThreadSwitcherToNewTask(ILog log)
Parameters
log
ILog
ThreadSwitcherToNewTask(ILogFactory)
public ThreadSwitcherToNewTask(ILogFactory logFactory)
Parameters
logFactory
ILogFactory
Methods
SwitchThread(Func<T, Task>, T)
public void SwitchThread(Func<T, Task> otherThread, T data)