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