View Issue Details

IDProjectCategoryView StatusLast Update
0001548NoesisGUIC# SDKpublic2019-08-27 15:11
Reporterdarthmaule2Assigned To 
Status newResolutionopen 
Product Version2.2.3 
Target VersionFixed in Version 
Summary0001548: Need the ability to Invoke calls onto the UI thread in the managed SDK
DescriptionMost UI frameworks provide mechanisms for running code on the UI thread… we think we can implement something like that ourselves, but think the solution would be much better if it was baked into the framework.
Essentially, we would like an implementation of the ThreadSwitcher described in these blogs:
You can see that ThreadSwitcher is implemented using the CoreDispatcher class for UWP, the Dispatcher for WPF, etc… we need a Dispatcher for Noesis Managed SDK that we can call BeginInvoke on and a way to tell if we are on the UI thread or not.
I don’t fully understand all the classes involved, but I noticed that Noesis doesn’t set SynchronizationContext.Current at startup, so I think an implementation of a custom SynchronizationContext would also be part of this solution.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-08-27 14:59 darthmaule2 New Issue
2019-08-27 14:59 darthmaule2 Tag Attached: C#