Пример #1
0
        public TContainer CreateContainer()
        {
            if (_modules.ContainsValue(null))
            {
                throw new InvalidOperationException(
                          "Not all modules have been defined. Please ensure all modules have been defined " +
                          "before creating the container.");
            }

            return(_moduleLoader.LoadModules(_modules.Values));
        }