2 using System.Threading.Tasks;
6 public CB CB { get; set; }
7 public DeviceDetails DeviceDetails { get; set; }
12 public CB (string arg)
19 public DeviceDetails (string arg)
26 public Task<string> GetUser()
28 return Task.FromResult ("aa");
31 public Task<string> GetDevice()
33 return Task.FromResult ("bb");
41 public async Task<CA> GetCAAsync()
45 CB = new CB(await bb.GetUser()),
46 DeviceDetails = new DeviceDetails(await bb.GetDevice())
53 x.GetCAAsync ().Wait ();