I have a WPF Code which looks something like this.
public class AlphaProductesVM : BaseModel
{
private ObservableCollection
Although there is an implementation of SynchronizationContext
for WPF it is not recommended for use. WPF has the Dispatcher
to build responsive applications.
In addition SynchronizationContext.Current
only has a value if you are on the UI thread. If your logic runs in a background thread Current
will always be null.