public ICancellableAsyncResult BeginExecuteQuerySegmented <TElement>(TableQuery <TElement> query, TableContinuationToken token, AsyncCallback callback, object state) where TElement : ITableEntity, new() { return(_cloudTable.BeginExecuteQuerySegmented(query, token, r => { var t = new AdapterAsyncResult <ITableQuerySegment <TElement> >(r, new TableQuerySegmentAdapter <TElement>( r.AsyncState as TableQuerySegment <TElement>)); callback(t); }, state)); }
public ICancellableAsyncResult BeginExecuteQuerySegmented(TableQuery query, TableContinuationToken token, AsyncCallback callback, object state) { return(_cloudTable.BeginExecuteQuerySegmented(query, token, r => { var t = new AdapterAsyncResult <ITableQuerySegment <DynamicTableEntity> >(r, new TableQuerySegmentAdapter <DynamicTableEntity>( r.AsyncState as TableQuerySegment <DynamicTableEntity>)); callback(t); }, state)); }
public ICancellableAsyncResult BeginListTablesSegmented(TableContinuationToken currentToken, AsyncCallback callback, object state) { return(_cloudTableClient.BeginListTablesSegmented(currentToken, r => { var t = new AdapterAsyncResult <ITableResultSegment>(r, new TableResultSegmentAdapter( r.AsyncState as TableResultSegment)); callback(t); }, state)); }
public ICancellableAsyncResult BeginListTablesSegmented(string prefix, int?maxResults, TableContinuationToken currentToken, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state) { return(_cloudTableClient.BeginListTablesSegmented(prefix, maxResults, currentToken, requestOptions, operationContext, r => { var t = new AdapterAsyncResult <ITableResultSegment>(r, new TableResultSegmentAdapter( r.AsyncState as TableResultSegment)); callback(t); }, state)); }
public ICancellableAsyncResult BeginExecuteQuerySegmented <TElement, R>(TableQuery <TElement> query, EntityResolver <R> resolver, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state) where TElement : ITableEntity, new() { return(_cloudTable.BeginExecuteQuerySegmented(query, resolver, token, requestOptions, operationContext, r => { var t = new AdapterAsyncResult <ITableQuerySegment <R> >(r, new TableQuerySegmentAdapter <R>( r.AsyncState as TableQuerySegment <R>)); callback(t); }, state)); }