public static void ConfigureByBuilder()
        {
            var config = Configuration.Builder()
                         .WithSetting("a", 22)
                         .WithSection("child",
                                      builder => builder
                                      .WithSetting("a1", "6577"))
                         .Build();

            var value = config.GetDouble("a");

            Assert.Equal(22, value);
        }
        public static void ConfigureFromProperties()
        {
            var config = Configuration.Builder()
                         .AddPropertiesString(new StringBuilder()
                                              .AppendLine("key = 54")
                                              .AppendLine("sec.key = port2")
                                              .AppendLine("sec.key2 = 122")
                                              .ToString())
                         .WithSetting("a", 33)
                         .Build();

            var value = config.GetValue("sec.key");

            Assert.NotNull(value);
            Assert.IsType <string>(value);

            var aValue = config.GetInt64("a");

            Assert.Equal(33L, aValue);

            Assert.NotEmpty(config.Sections);
            Assert.Equal(1, config.Sections.Count());
        }