Esempio n. 1
0
 public static Action <T> Wrap <T>(this IPostWorkToAnotherThread thread, Action <T> action)
 {
     return(item => thread.Post(() => action(item)));
 }
Esempio n. 2
0
 public static Action Wrap(this IPostWorkToAnotherThread thread, Action action)
 {
     return(() => thread.Post(action));
 }