Catel icon indicating copy to clipboard operation
Catel copied to clipboard

Clean up dispatcher methods

Open GeertvanHorrik opened this issue 7 years ago • 2 comments

There are several methods overlapping all and some returning void. All should return a task (which is up to the user whether it will be awaited or not).

Especially Dispatcherhelper.cs needs cleanup.

GeertvanHorrik avatar Oct 31 '18 12:10 GeertvanHorrik

Need to correctly list all required InvokeAsync and BeginInvokeAsync methods. Also need to investigate what's available in .NET / WPF nowaways. Also need to keep similar API.

Items we should consider:

  • InvokeIfRequired
  • BeginInvokeIfRequired

I think the rest is now available as standard methods on the Dispatcher.

GeertvanHorrik avatar Sep 25 '20 14:09 GeertvanHorrik