code_junkie

Thread Creation Event for setting CurrentCulture

Nov 13th, 2011
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. class MyThreadFactory
  2. {
  3. public static Thread getThread()
  4. {
  5. Thread a = new Thread(..);
  6. a.CurrentCulture = xxxx;
  7. return a;
  8. }
  9. }
  10.  
  11. Thread newThread = MyThreadFactory.getThread();
Add Comment
Please, Sign In to add comment