1 2 3 4 5 6 7 8 9
using Microsoft.Extensions.Configuration; namespace Jenny; public class JennyConfiguration { public JennyConfiguration(IConfiguration config) => config.GetRequiredSection("Jenny").Bind(this); public List<string> Admins { get; set; } = new(); }