Ejemplo n.º 1
0
        /// <summary>
        /// Configure the service provider for LazyGit
        /// </summary>
        /// <returns></returns>
        private static ServiceProvider ConfigureServiceProvider()
        {
            var services = _serviceConfiguration.ConfigureServiceCollection();
            var config   = _serviceConfiguration.GetConfigurationBuilder().Build();

            _serviceConfiguration.ConfigureServiceOptions(services, config);

            return(services.BuildServiceProvider());
        }