public async Task ExecuteAsync(ICommandLineArguments commandLineArguments, CancellationToken cancellationToken)
        {
            if (_featureSwitchService.VersionUpdate)
            {
                _logger.LogInfo("Checking for Reference data updates.");
                await CheckForReferenceDataUpdates(commandLineArguments.CheckAndUpdateReferenceData);
            }

            _logger.LogInfo("Creating Context.");
            var context = _desktopContextFactory.Build(commandLineArguments);

            await _ilrDesktopService.ProcessAsync(context, cancellationToken);
        }
Exemplo n.º 2
0
        public async Task ExecuteAsync(ICommandLineArguments commandLineArguments, CancellationToken cancellationToken)
        {
            var context = await _desktopContextFactory.Build(commandLineArguments, cancellationToken);

            await _ilrDesktopService.ProcessAsync(context, cancellationToken);
        }