Esempio n. 1
0
        internal ServiceLocatorContainer(
            IServiceCreator serviceCreator,
            IServiceLocatorSetup setup)
        {
            ArgumentChecker.NotNull(serviceCreator, () => serviceCreator);
            ArgumentChecker.NotNull(setup, () => setup);

            _serviceCreator = serviceCreator;

            setup.Configure(this);
        }
Esempio n. 2
0
 internal ServiceLocatorContainer(IServiceLocatorSetup setup)
     : this(new ServiceCreator(), setup)
 {
 }