コード例 #1
0
ファイル: ExHentai.cs プロジェクト: bonbon197/ExHentaiAPI
        public GalleryInfoCollection GetGalleryInfo(GalleryTokenCollection collection, int offset, int length)
        {
            IAsyncResult asyncResult = this.BeginGetGalleryInfo(collection, offset, length, null);

            asyncResult.AsyncWaitHandle.WaitOne();
            return(this.EndGetGalleryInfo(asyncResult));
        }
コード例 #2
0
ファイル: ExHentai.cs プロジェクト: bonbon197/ExHentaiAPI
 public IAsyncResult BeginGetGalleryInfo(GalleryTokenCollection collection, int offset, int length, AsyncCallback callBack, object userState)
 {
     return(this.BeginGetGalleryInfo(collection.ToJsonArray(offset, length), callBack, userState));
 }
コード例 #3
0
ファイル: ExHentai.cs プロジェクト: bonbon197/ExHentaiAPI
 public IAsyncResult BeginGetGalleryInfo(GalleryTokenCollection collection, AsyncCallback callBack)
 {
     return(this.BeginGetGalleryInfo(collection.ToJsonArray(), callBack, null));
 }