/// <summary>
        ///
        /// </summary>
        /// <param name="config"></param>
        public ComponentContainer(IComponentConfig config)
        {
            if (config == null)
            {
                throw new ArgumentNullException("config");
            }

            mappings = config.ToMappings();
        }