Permalink
Browse files

Improve azure node module import library APIs

  • Loading branch information...
1 parent adcba6f commit 760cc48c6dfd6eff209d00d1dbb112cdb9c57c16 @nikhilk committed May 24, 2013
@@ -4,6 +4,7 @@
//
using System;
+using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NodeApi.WindowsAzure.Storage {
@@ -22,7 +23,7 @@ public sealed class CloudBlobContainerListContinuation {
}
}
- public void GetNextPage(AsyncResultCallback<CloudBlobContainer[], CloudBlobContainerListContinuation> callback) {
+ public void GetNextPage(AsyncResultCallback<List<CloudBlobContainer>, CloudBlobContainerListContinuation> callback) {
}
public bool HasNextPage() {
@@ -4,6 +4,7 @@
//
using System;
+using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NodeApi.WindowsAzure.Storage {
@@ -22,7 +23,7 @@ public sealed class CloudBlobListContinuation {
}
}
- public void GetNextPage(AsyncResultCallback<CloudBlob[], CloudBlobListContinuation> callback) {
+ public void GetNextPage(AsyncResultCallback<List<CloudBlob>, CloudBlobListContinuation> callback) {
}
public bool HasNextPage() {
@@ -4,6 +4,7 @@
//
using System;
+using System.Collections.Generic;
using System.Runtime.CompilerServices;
using NodeApi.IO;
@@ -105,28 +106,28 @@ public sealed class CloudBlobService {
public void GetBlobToText(string containerName, string blobName, string text, object options, AsyncResultCallback<string, CloudBlockBlob> callback) {
}
- public void ListBlobs(string containerName, AsyncResultCallback<CloudBlob[]> callback) {
+ public void ListBlobs(string containerName, AsyncResultCallback<List<CloudBlob>> callback) {
}
- public void ListBlobs(string containerName, AsyncResultCallback<CloudBlob[], CloudBlobListContinuation> callback) {
+ public void ListBlobs(string containerName, AsyncResultCallback<List<CloudBlob>, CloudBlobListContinuation> callback) {
}
- public void ListBlobs(string containerName, object options, AsyncResultCallback<CloudBlob[]> callback) {
+ public void ListBlobs(string containerName, object options, AsyncResultCallback<List<CloudBlob>> callback) {
}
- public void ListBlobs(string containerName, object options, AsyncResultCallback<CloudBlob[], CloudBlobListContinuation> callback) {
+ public void ListBlobs(string containerName, object options, AsyncResultCallback<List<CloudBlob>, CloudBlobListContinuation> callback) {
}
- public void ListContainers(AsyncResultCallback<CloudBlobContainer[]> callback) {
+ public void ListContainers(AsyncResultCallback<List<CloudBlobContainer>> callback) {
}
- public void ListContainers(AsyncResultCallback<CloudBlobContainer[], CloudBlobContainerListContinuation> callback) {
+ public void ListContainers(AsyncResultCallback<List<CloudBlobContainer>, CloudBlobContainerListContinuation> callback) {
}
- public void ListContainers(object options, AsyncResultCallback<CloudBlobContainer[]> callback) {
+ public void ListContainers(object options, AsyncResultCallback<List<CloudBlobContainer>> callback) {
}
- public void ListContainers(object options, AsyncResultCallback<CloudBlobContainer[], CloudBlobContainerListContinuation> callback) {
+ public void ListContainers(object options, AsyncResultCallback<List<CloudBlobContainer>, CloudBlobContainerListContinuation> callback) {
}
public void ReleaseLease(string containerName, string blobName, string leaseID, AsyncResultCallback<CloudBlobLease> callback) {
@@ -4,6 +4,7 @@
//
using System;
+using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NodeApi.WindowsAzure.Storage {
@@ -22,7 +23,7 @@ public sealed class CloudQueueListContinuation {
}
}
- public void GetNextPage(AsyncResultCallback<CloudQueue[], CloudQueueListContinuation> callback) {
+ public void GetNextPage(AsyncResultCallback<List<CloudQueue>, CloudQueueListContinuation> callback) {
}
public bool HasNextPage() {
@@ -4,6 +4,7 @@
//
using System;
+using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NodeApi.WindowsAzure.Storage {
@@ -54,22 +55,22 @@ public sealed class CloudQueueService {
public void DeleteQueue(string queueName, object options, AsyncCallback callback) {
}
- public void GetMessages(string queueName, AsyncResultCallback<CloudQueueMessage[]> callback) {
+ public void GetMessages(string queueName, AsyncResultCallback<List<CloudQueueMessage>> callback) {
}
- public void GetMessages(string queueName, object options, AsyncResultCallback<CloudQueueMessage[]> callback) {
+ public void GetMessages(string queueName, object options, AsyncResultCallback<List<CloudQueueMessage>> callback) {
}
- public void ListQueues(AsyncResultCallback<CloudQueue[]> callback) {
+ public void ListQueues(AsyncResultCallback<List<CloudQueue>> callback) {
}
- public void ListQueues(object options, AsyncResultCallback<CloudQueue[]> callback) {
+ public void ListQueues(object options, AsyncResultCallback<List<CloudQueue>> callback) {
}
- public void PeekMessages(string queueName, AsyncResultCallback<CloudQueueMessage[]> callback) {
+ public void PeekMessages(string queueName, AsyncResultCallback<List<CloudQueueMessage>> callback) {
}
- public void PeekMessages(string queueName, object options, AsyncResultCallback<CloudQueueMessage[]> callback) {
+ public void PeekMessages(string queueName, object options, AsyncResultCallback<List<CloudQueueMessage>> callback) {
}
public void UpdateMessage(string queueName, string messageID, string popReceipt, int visibilityTimeout, AsyncResultCallback<CloudQueueMessage> callback) {
@@ -4,6 +4,7 @@
//
using System;
+using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NodeApi.WindowsAzure.Storage {
@@ -22,7 +23,7 @@ public sealed class CloudTableListContinuation {
}
}
- public void GetNextPage(AsyncResultCallback<CloudTable[], CloudTableListContinuation> callback) {
+ public void GetNextPage(AsyncResultCallback<List<CloudTable>, CloudTableListContinuation> callback) {
}
public bool HasNextPage() {
@@ -4,6 +4,7 @@
//
using System;
+using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NodeApi.WindowsAzure.Storage {
@@ -29,7 +30,7 @@ public sealed class CloudTableQueryContinuation {
}
}
- public void GetNextPage(AsyncResultCallback<CloudTableEntity[], CloudTableQueryContinuation> callback) {
+ public void GetNextPage(AsyncResultCallback<List<CloudTableEntity>, CloudTableQueryContinuation> callback) {
}
public bool HasNextPage() {
@@ -4,6 +4,7 @@
//
using System;
+using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NodeApi.WindowsAzure.Storage {
@@ -33,82 +34,82 @@ public sealed class CloudTableService {
public void CreateTable(string tableName, object options, AsyncCallback callback) {
}
- public void CreateTableIfNotExists(string tableName, AsyncCallback callback) {
+ public void CreateTableIfNotExists(string tableName, AsyncResultCallback<bool> callback) {
}
- public void CreateTableIfNotExists(string tableName, object options, AsyncCallback callback) {
+ public void CreateTableIfNotExists(string tableName, object options, AsyncResultCallback<bool> callback) {
}
- public void DeleteEntity(string tableName, CloudTableEntity entity, AsyncCallback callback) {
+ public void DeleteEntity(string tableName, CloudTableEntity entity, AsyncResultCallback<bool> callback) {
}
- public void DeleteEntity(string tableName, CloudTableEntity entity, object options, AsyncCallback callback) {
+ public void DeleteEntity(string tableName, CloudTableEntity entity, object options, AsyncResultCallback<bool> callback) {
}
- public void DeleteTable(string tableName, AsyncCallback callback) {
+ public void DeleteTable(string tableName, AsyncResultCallback<bool> callback) {
}
- public void DeleteTable(string tableName, object options, AsyncCallback callback) {
+ public void DeleteTable(string tableName, object options, AsyncResultCallback<bool> callback) {
}
public bool HasOperations() {
return false;
}
- public void InsertEntity(string tableName, CloudTableEntity entity, AsyncCallback callback) {
+ public void InsertEntity(string tableName, CloudTableEntity entity, AsyncResultCallback<CloudTableEntity> callback) {
}
- public void InsertEntity(string tableName, CloudTableEntity entity, object options, AsyncCallback callback) {
+ public void InsertEntity(string tableName, CloudTableEntity entity, object options, AsyncResultCallback<CloudTableEntity> callback) {
}
- public void InsertOrMergeEntity(string tableName, CloudTableEntity entity, AsyncCallback callback) {
+ public void InsertOrMergeEntity(string tableName, CloudTableEntity entity, AsyncResultCallback<CloudTableEntity> callback) {
}
- public void InsertOrMergeEntity(string tableName, CloudTableEntity entity, object options, AsyncCallback callback) {
+ public void InsertOrMergeEntity(string tableName, CloudTableEntity entity, object options, AsyncResultCallback<CloudTableEntity> callback) {
}
- public void InsertOrReplaceEntity(string tableName, CloudTableEntity entity, AsyncCallback callback) {
+ public void InsertOrReplaceEntity(string tableName, CloudTableEntity entity, AsyncResultCallback<CloudTableEntity> callback) {
}
- public void InsertOrReplaceEntity(string tableName, CloudTableEntity entity, object options, AsyncCallback callback) {
+ public void InsertOrReplaceEntity(string tableName, CloudTableEntity entity, object options, AsyncResultCallback<CloudTableEntity> callback) {
}
public bool IsInBatch() {
return false;
}
[ScriptName("queryTables")]
- public void ListTables(AsyncResultCallback<CloudTable[]> callback) {
+ public void ListTables(AsyncResultCallback<List<CloudTable>> callback) {
}
[ScriptName("queryTables")]
- public void ListTables(AsyncResultCallback<CloudTable[], CloudTableListContinuation> callback) {
+ public void ListTables(AsyncResultCallback<List<CloudTable>, CloudTableListContinuation> callback) {
}
[ScriptName("queryTables")]
- public void ListTables(object options, AsyncResultCallback<CloudTable[]> callback) {
+ public void ListTables(object options, AsyncResultCallback<List<CloudTable>> callback) {
}
[ScriptName("queryTables")]
- public void ListTables(object options, AsyncResultCallback<CloudTable[], CloudTableListContinuation> callback) {
+ public void ListTables(object options, AsyncResultCallback<List<CloudTable>, CloudTableListContinuation> callback) {
}
- public void MergeEntity(string tableName, CloudTableEntity entity, AsyncCallback callback) {
+ public void MergeEntity(string tableName, CloudTableEntity entity, AsyncResultCallback<CloudTableEntity> callback) {
}
- public void MergeEntity(string tableName, CloudTableEntity entity, object options, AsyncCallback callback) {
+ public void MergeEntity(string tableName, CloudTableEntity entity, object options, AsyncResultCallback<CloudTableEntity> callback) {
}
- public void QueryEntities(CloudTableQuery query, AsyncResultCallback<CloudTableEntity[]> callback) {
+ public void QueryEntities(CloudTableQuery query, AsyncResultCallback<List<CloudTableEntity>> callback) {
}
- public void QueryEntities(CloudTableQuery query, object options, AsyncResultCallback<CloudTableEntity[]> callback) {
+ public void QueryEntities(CloudTableQuery query, object options, AsyncResultCallback<List<CloudTableEntity>> callback) {
}
- public void QueryEntities(CloudTableQuery query, AsyncResultCallback<CloudTableEntity[], CloudTableQueryContinuation> callback) {
+ public void QueryEntities(CloudTableQuery query, AsyncResultCallback<List<CloudTableEntity>, CloudTableQueryContinuation> callback) {
}
- public void QueryEntities(CloudTableQuery query, object options, AsyncResultCallback<CloudTableEntity[], CloudTableQueryContinuation> callback) {
+ public void QueryEntities(CloudTableQuery query, object options, AsyncResultCallback<List<CloudTableEntity>, CloudTableQueryContinuation> callback) {
}
public void QueryEntity(string tableName, string partitionKey, string rowKey, AsyncResultCallback<CloudTableEntity> callback) {
@@ -120,10 +121,10 @@ public sealed class CloudTableService {
public void Rollback() {
}
- public void UpdateEntity(string tableName, CloudTableEntity entity, AsyncCallback callback) {
+ public void UpdateEntity(string tableName, CloudTableEntity entity, AsyncResultCallback<CloudTableEntity> callback) {
}
- public void UpdateEntity(string tableName, CloudTableEntity entity, object options, AsyncCallback callback) {
+ public void UpdateEntity(string tableName, CloudTableEntity entity, object options, AsyncResultCallback<CloudTableEntity> callback) {
}
}
}

0 comments on commit 760cc48

Please sign in to comment.