📅  最后修改于: 2022-03-11 14:48:49.236000             🧑  作者: Mango
// Startup.cs
public class Startup
{
...
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
...
services.AddOptions().Bind(Configuration.GetSection("RoundTheCodeSync"));
}
}