Exemple #1
0
        private IServiceProvider ConfigureDI()
        {
            var configuration = new DIConfiguration();

            configuration.ConfigureCommon();
            configuration.ConfigureDefaults();
            return(configuration.Build());
        }
Exemple #2
0
        public IServiceProvider CreateProvider()
        {
            var configuration = new DIConfiguration();

            configuration.ConfigureCommon();
            configuration.ConfigureForTests();
            return(configuration.Build());
        }