I can\'t find a timer in portable library / Windows Store. (Targeting .net 4.5 and Windows Store aka Metro)
Does any have an idea on how to created some kind of timi
I ended up with Observable.Timer from Reactive Extensions (Rx). Rx was already included in the project, so additional reference was not an issue.
Here is a timer that triggers every second:
IDisposable timer = Observable.Timer(TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(1))
.Subscribe(_ => /* your useful code here */);
// unsubscribe/stop when timer is no longer needed
timer.Dispose();
System.Reactive.Linq.Observable class is in PCL friendly Rx-Linq NuGet package.