/// <summary>
        /// Creates a <see cref="FormatterContainer"/> instance with the default configuration.  Alternatively, use <see cref="Default"/>.
        /// </summary>
        /// <returns>A new <see cref="FormatterContainer"/> instance.</returns>
        public static FormatterContainer Create(FormatterConfigurator configurator)
        {
            if (configurator is null)
            {
                throw new ArgumentNullException(nameof(configurator));
            }

            FormatterContainer container = new FormatterContainer();

            FormatterConfiguration configuration = new Configuration(container);

            configurator(configuration);

            configuration.Lock();

            return(container);
        }
 public Configuration(FormatterContainer container)
 {
     _container = container;
 }