colin14321
Topic Author
Posts: 12
Joined: 04 Jul 2022, 20:07

Support of System.Threading Class

29 Jul 2022, 21:36

Hi there,

I realized that some classes in System.Threading are missing from Noesis, such as Timer, DispatcherTimer, Interlocked, CancellationToken, Timeout.

Will these classes be added in the future?

Thank you.
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Support of System.Threading Class

01 Aug 2022, 12:42

Hi, the classes defined in System.Threading namespace (Timer, CancellationToken and Timeout) are already available as they are part of netstandard 2.0 implementation. Noesis only offers multiplatform implementations for those classes that are not part of netstandard (usually those in Windows namespace).

I see that DispatcherTimer is part of System.Windows.Threading namespace. If you need that class we can implement it, could you please add a request in our bugtracker?
 
colin14321
Topic Author
Posts: 12
Joined: 04 Jul 2022, 20:07

Re: Support of System.Threading Class

02 Aug 2022, 18:02

Great thank you so much! I have added a request into the bugtracker. (#2391)
 
voula_d
Posts: 17
Joined: 16 Feb 2023, 17:40

Re: Support of System.Threading Class

22 Feb 2024, 14:32

Hi,
are there any news on this? If it has not yet implemented on v3.2.3, is there a workaround for Android?
Thanks
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Support of System.Threading Class

26 Feb 2024, 16:55

Hi, unfortunately this feature is still not implemented in 3.2.3 version.

Our View exposes a way to create timers though, so you can always create like this:
int timerId = element.View.CreateTimer(intervalMs, OnTimerCallback);
Could that work for you?

Who is online

Users browsing this forum: Ahrefs [Bot] and 68 guests