Example #1
0
        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
        {
            var documentationIndex = await _DocumentationService.IndexFiles();

            await _DocumentationService.RefreshDocumentationIndex(documentationIndex);

            await _DocumentationService.RefreshSearchIndex(documentationIndex);

            _ApplicationLifetime.StopApplication();
        }