Beispiel #1
0
 protected override void OnSleep()
 {
     // Handle when your app sleeps
     AppSleep?.Invoke();
 }
Beispiel #2
0
 protected override void OnSleep()
 {
     AppSleep?.Invoke(this, new EventArgs());
     schedulerLockCounter = DateTimeOffset.Now.ToUnixTimeMilliseconds();
 }