An Asynchronous Delegate Command for your WPF MVVM Apps

added by amazedsaint
10/19/2010 7:00:52 AM

4 Kicks, 800 Views

In a lot of scenarios, you need to perform operations in an asynchronous way in your View Model. And most of the time, BackgroundWorker class comes handy. So, here is a quick implementation of an Asynchronous version of DelegateCommand/RelayCommand, that wraps the BackgroundWorker under the hoods.