コード例 #1
0
 private void OnExecute()
 {
     var devFunService = new DevFunService(new Uri(this.ServiceBaseUrl));
     var dataInitializer = new DataInitializer(devFunService);
     dataInitializer.InitializeData().Wait();
     Console.WriteLine("Data initialized.");
 }
コード例 #2
0
 public DataInitializer(DevFunService service)
 {
     this.service = service ?? throw new ArgumentNullException(nameof(service));
 }