public StorageResult get(com.imd.doc.thrift.Source source, string id, FileType fileType) { #if !SILVERLIGHT send_get(source, id, fileType); return(recv_get()); #else var asyncResult = Begin_get(null, null, source, id, fileType); return(End_get(asyncResult)); #endif }
public void create(com.imd.doc.thrift.Language language, com.imd.doc.thrift.Source source, PageType pageType) { #if !SILVERLIGHT send_create(language, source, pageType); recv_create(); #else var asyncResult = Begin_create(null, null, language, source, pageType); End_create(asyncResult); #endif }
public DownloaderResult download(com.imd.doc.thrift.Source source, string id) { #if !SILVERLIGHT send_download(source, id); return(recv_download()); #else var asyncResult = Begin_download(null, null, source, id); return(End_download(asyncResult)); #endif }
public File(com.imd.doc.thrift.Language language, com.imd.doc.thrift.Source source, string id, byte[] stream, long length, string contentType, FileType fileType, long createTime) : this() { this.Language = language; this.Source = source; this.Id = id; this.Stream = stream; this.Length = length; this.ContentType = contentType; this.FileType = fileType; this.CreateTime = createTime; }
public Info(string id, com.imd.doc.thrift.Language database, com.imd.doc.thrift.Source source, string journal, string issue, string volume, string title, string pagination, string language, long pubDate) : this() { this.Id = id; this.Database = database; this.Source = source; this.Journal = journal; this.Issue = issue; this.Volume = volume; this.Title = title; this.Pagination = pagination; this.Language = language; this.PubDate = pubDate; }
public void send_download(com.imd.doc.thrift.Source source, string id) #endif { oprot_.WriteMessageBegin(new TMessage("download", TMessageType.Call, seqid_)); download_args args = new download_args(); args.Source = source; args.Id = id; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public void send_get(com.imd.doc.thrift.Source source, string id, FileType fileType) #endif { oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_)); get_args args = new get_args(); args.Source = source; args.Id = id; args.FileType = fileType; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public void send_create(com.imd.doc.thrift.Language language, com.imd.doc.thrift.Source source, PageType pageType) #endif { oprot_.WriteMessageBegin(new TMessage("create", TMessageType.Call, seqid_)); create_args args = new create_args(); args.Language = language; args.Source = source; args.PageType = pageType; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public IAsyncResult send_get(AsyncCallback callback, object state, com.imd.doc.thrift.Source source, string id, FileType fileType)
public IAsyncResult Begin_get(AsyncCallback callback, object state, com.imd.doc.thrift.Source source, string id, FileType fileType) { return(send_get(callback, state, source, id, fileType)); }
public DownloaderResult(com.imd.doc.thrift.Status status, com.imd.doc.thrift.Source source, string id) : this() { this.Status = status; this.Source = source; this.Id = id; }
public IAsyncResult send_download(AsyncCallback callback, object state, com.imd.doc.thrift.Source source, string id)
public IAsyncResult Begin_download(AsyncCallback callback, object state, com.imd.doc.thrift.Source source, string id) { return(send_download(callback, state, source, id)); }
public IAsyncResult send_create(AsyncCallback callback, object state, com.imd.doc.thrift.Language language, com.imd.doc.thrift.Source source, PageType pageType)
public IAsyncResult Begin_create(AsyncCallback callback, object state, com.imd.doc.thrift.Language language, com.imd.doc.thrift.Source source, PageType pageType) { return(send_create(callback, state, language, source, pageType)); }