title: In dotnet core the call to config.GetSection().Get <List<object>> will not load values into the object
body: <p>In my appsetting.json I have the following array of values defined.</p>
  
  <pre><code>"DirectoriesToMonitor": [
    {
      "DirectoryToMonitor": {
        "Directory": "c:\\temp1",
        "IncludeSubDirectories": true,
        "FileTypes": "txt",
        "ZipFiles": false,
        "NotifyOnly": true
      }
    },
    {
      "DirectoryToMonitor": {
        "Directory": "c:\\temp2",
        "FileTypes": "txt",
        "ZipFiles": false,
        "NotifyOnly": true
      }
    }
  ]
  </code></pre>
  
  <p>I am trying to load them into a list of objects with this statement.</p>
  
  <pre><code>List&lt;DirectoryToMonitor&gt; dirs = config.GetSection("DirectoriesToMonitor").Get&lt;List&lt;DirectoryToMonitor&gt;&gt;();
  </code></pre>
  
  <p>The "dirs" list is populated with 2 objects but the properties on each of the objects are not loaded from appsettings.  </p>
  
  <p>I have also tried this:</p>
  
  <pre><code>List&lt;DirectoryToMonitor&gt; directories = new List&lt;DirectoryToMonitor&gt;();
  config.Bind("DirectoriesToMonitor", directories);
  </code></pre>
  
  <p>And I am getting the same result.</p>
  
  <pre><code>namespace FileWatcherEmailer
  {
      public class DirectoryToMonitor
      {
          public string Directory { get; set; }
          public bool IncludeSubDirectories { get; set; }
          public string FileTypes { get; set; }
          public bool ZipFiles { get; set; }
          public bool NotifyOnly { get; set; }
      }
  }
  </code></pre>