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