/// <summary>
		/// Adds the library.
		/// </summary>
		/// <param name="name">The name.</param>
		/// <param name="mainGenerator">The main generator.</param>
		/// <returns></returns>
		public LibraryConfigurationBuilder AddLibrary(string name, Type mainGenerator)
		{
			var config = new LibraryConfiguration(name, mainGenerator);
			libraries.Add(config);

			return new LibraryConfigurationBuilder(this, config);
		}
        /// <summary>
        /// Adds the library.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="mainGenerator">The main generator.</param>
        /// <returns></returns>
        public LibraryConfigurationBuilder AddLibrary(string name, Type mainGenerator)
        {
            var config = new LibraryConfiguration(name, mainGenerator);

            libraries.Add(config);

            return(new LibraryConfigurationBuilder(this, config));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="LibraryConfigurationBuilder"/> class.
 /// </summary>
 /// <param name="configuration">The configuration.</param>
 /// <param name="config">The config.</param>
 public LibraryConfigurationBuilder(JSGeneratorConfiguration configuration, LibraryConfiguration config)
 {
     this.configuration = configuration;
     this.config        = config;
     elementConfig      = new ElementGeneratorConfigBuilder(this);
 }
			/// <summary>
			/// Initializes a new instance of the <see cref="LibraryConfigurationBuilder"/> class.
			/// </summary>
			/// <param name="configuration">The configuration.</param>
			/// <param name="config">The config.</param>
			public LibraryConfigurationBuilder(JSGeneratorConfiguration configuration, LibraryConfiguration config)
			{
				this.configuration = configuration;
				this.config = config;
				elementConfig = new ElementGeneratorConfigBuilder(this);
			}