コード例 #1
0
        public override async Task StartAsync(CancellationToken cancellationToken)
        {
            if (!await LoadWorkers())
            {
                _applicationLifetime.StopApplication();
                return;
            }

            _currentElix = await _api.GetCurrentEventsElix();

            await base.StartAsync(cancellationToken);
        }