コード例 #1
0
        static async Task Main(string[] args)
        {
            IConfiguration config   = CreateConfig();
            JobSettings    settings = config.Get <JobSettings>();

            var apiClient = new TodoApiClient(settings);
            await apiClient.ListTodosAsync();
        }
コード例 #2
0
 public TodoApiClient(JobSettings settings)
 {
     _settings = settings;
 }