コード例 #1
0
 private async Task <List <IDataItem> > ReadData(IHBaseSourceAdapterConfiguration configuration)
 {
     using (var adapter = await new HBaseSourceAdapterFactory()
                          .CreateAsync(configuration, DataTransferContextMock.Instance, CancellationToken.None))
     {
         return(await ReadDataAsync(adapter));
     }
 }
 private async Task<List<IDataItem>> ReadData(IHBaseSourceAdapterConfiguration configuration)
 {
     using (var adapter = await new HBaseSourceAdapterFactory()
         .CreateAsync(configuration, DataTransferContextMock.Instance, CancellationToken.None))
     {
         return await ReadDataAsync(adapter);
     }
 }