示例#1
0
        private static void Init()
        {
            var ServiceProvider = GetServiceProvider();

            _commandsFactory = InitCommandsFactory(ServiceProvider);
            _logger          = ServiceProvider.GetService <ILogger <Program> >();
            _logger.LogInformation(_commandsFactory.GetHelperText());
        }