Exemplo n.º 1
0
 /// <summary>
 /// Finishes the asynchronous execution of the Save operation.
 /// <seealso cref="Amazon.DynamoDBv2.DataModel.DynamoDBContext.Save"/>
 /// </summary>
 /// <param name="asyncResult">The IAsyncResult returned by the call to BeginSave.</param>
 public void EndSave(IAsyncResult asyncResult)
 {
     DynamoDBAsyncExecutor.EndOperation(asyncResult);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Finishes the asynchronous execution of the Load operation.
 /// <seealso cref="Amazon.DynamoDBv2.DataModel.DynamoDBContext.Load"/>
 /// </summary>
 /// <param name="asyncResult">The IAsyncResult returned by the call to BeginLoad.</param>
 /// <returns>
 /// Object of type T, populated with properties of item loaded from DynamoDB.
 /// </returns>
 public T EndLoad <T>(IAsyncResult asyncResult)
 {
     return(DynamoDBAsyncExecutor.EndOperation <T>(asyncResult));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Finishes the asynchronous execution of the ExecuteBatchWrite operation.
 /// <seealso cref="Amazon.DynamoDBv2.DataModel.DynamoDBContext.ExecuteBatchWrite"/>
 /// </summary>
 /// <param name="asyncResult">The IAsyncResult returned by the call to BeginExecuteBatchWrite.</param>
 public void EndExecuteBatchWrite(IAsyncResult asyncResult)
 {
     DynamoDBAsyncExecutor.EndOperation(asyncResult);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Finishes the asynchronous execution of the BeginGetRemaining operation.
 /// </summary>
 /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetNextSet.</param>
 public List <T> EndGetRemaining(IAsyncResult asyncResult)
 {
     return(DynamoDBAsyncExecutor.EndOperation <List <T> >(asyncResult));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Finishes the asynchronous execution of the BeginGetNextSet operation.
 /// </summary>
 /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetNextSet.</param>
 public List <T> EndGetNextSet(IAsyncResult asyncResult)
 {
     return(DynamoDBAsyncExecutor.EndOperation <List <T> >(asyncResult) as List <T>);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Finishes the asynchronous execution of the GetRemaining operation.
 /// <seealso cref="Amazon.DynamoDBv2.DocumentModel.Search.GetRemaining"/>
 /// </summary>
 /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRemaining.</param>
 /// <returns>List of Documents matching the search parameters</returns>
 public List <Document> EndGetRemaining(IAsyncResult asyncResult)
 {
     return(DynamoDBAsyncExecutor.EndOperation(asyncResult) as List <Document>);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Finishes the asynchronous execution of the Execute operation.
 /// <seealso cref="Amazon.DynamoDBv2.DocumentModel.Search.GetNextSet"/>
 /// </summary>
 /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetNextSet.</param>
 /// <returns>Next set of Documents matching the search parameters</returns>
 public List <Document> EndGetNextSet(IAsyncResult asyncResult)
 {
     return(DynamoDBAsyncExecutor.EndOperation <List <Document> >(asyncResult));
 }
Exemplo n.º 8
0
 /// <summary>
 /// Finishes the asynchronous execution of the PutItem operation.
 /// <seealso cref="Amazon.DynamoDBv2.DocumentModel.Table.PutItem"/>
 /// </summary>
 /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutItem.</param>
 /// <returns>Null or updated attributes, depending on config.</returns>
 public Document EndPutItem(IAsyncResult asyncResult)
 {
     return(DynamoDBAsyncExecutor.EndOperation <Document>(asyncResult));
 }