Example #1
0
 public IAsyncResult BeginGetGalleryInfo(GalleryTokenCollection collection, int offset, int length, AsyncCallback callBack, object userState)
 {
     return this.BeginGetGalleryInfo(collection.ToJsonArray(offset, length), callBack, userState);
 }
Example #2
0
 public GalleryInfoCollection GetGalleryInfo(GalleryTokenCollection collection, int offset, int length)
 {
     IAsyncResult asyncResult = this.BeginGetGalleryInfo(collection, offset, length, null);
     asyncResult.AsyncWaitHandle.WaitOne();
     return this.EndGetGalleryInfo(asyncResult);
 }
Example #3
0
 public IAsyncResult BeginGetGalleryInfo(GalleryTokenCollection collection, AsyncCallback callBack)
 {
     return this.BeginGetGalleryInfo(collection.ToJsonArray(), callBack, null);
 }