コード例 #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='listData'>
 /// </param>
 public static void AddShoppingList(this IShoppingAPI operations, ShoppingList listData = default(ShoppingList))
 {
     operations.AddShoppingListAsync(listData).GetAwaiter().GetResult();
 }
コード例 #2
0
 public async Task AddList(ShoppingList item)
 {
     await _client.AddShoppingListAsync(item);
 }