|
by John Papa via JohnPapa.net on 10/1/2010 6:12:00 AM
When you work with Silverlight classic or for Windows Phone everyday like I do, you get used writing code that helps you get back on the UI thread when needed. I was chatting with Jeff Wilcox about threading and I tossed this code at him, as Jeff also has a SmartDispatcher class. Mine is a much smaller feature set than Jeff’s, but it does the job I need. Anyway, the discussion with Jeff made me realize I had not shared this code. Sometimes your code runs on a background thread, for exampl
... [ read more ]
|
|