WinRT BackgroundWorker type(www.lhotka.net)

submitted by rcashrcash(4149) 7 months, 13 days ago

Because .NET/SL/WP7 don’t (yet) have the async/await keywords, and WinRT doesn’t have BW, I need to come up with a solution that leaves existing code/behavior alone, and yet provides comparable behavior in WinRT. Read how one programmer resolves this issue by creating a BackgroundWorker Type.

1 comment |category: |Views: 32

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 7 months, 13 days ago 0

It's an interesting chunk of code. It's not particularly useful to me, but I'm not doing any WinRT programming yet either.
Given the simplicity of the code, it makes me wonder why Microsoft didn't include more stopgaps like this themselves? Perhaps they didn't want the burden of maintaining these workarounds themselves...

Reply

information Login or create an account to comment on this story