Exemple #1
0
        public Task StopAsync(CancellationToken cancellationToken)
        {
            if (!cancellationToken.IsCancellationRequested)
            {
                _applicationContext.Dispose();
            }

            return(Task.CompletedTask);
        }