public Task StartAsync(CancellationToken cancellationToken)
        {
            var appTimerState = new AppTimerState
            {
                AppName = _appNameProvider.GetAppName()
            };

            _timer = new Timer(async s => await OnTimerElapsedAsync((AppTimerState)s, cancellationToken), appTimerState, TimeSpan.Zero, Period);

            return(Task.CompletedTask);
        }
 public abstract Task OnTimerElapsedAsync(AppTimerState appTimerState, CancellationToken cancellationToken);