public IAsyncResult BeginNewMediaObject(string blogid, string username, string password, MediaObject mediaObject, AsyncCallback callback, object asyncState)
 {
     return BeginInvoke("NewMediaObject", new object[] { blogid, username, password, mediaObject }, this, callback, asyncState);
 }
 public MediaObjectInfo NewMediaObject(string blogid, string username, string password, MediaObject mediaObject)
 {
     return (MediaObjectInfo)Invoke("NewMediaObject", new object[] { blogid, username, password, mediaObject });
 }
 public Task<MediaObjectInfo> NewMediaObjectAsync(string blogid, string username, string password, MediaObject mediaObject)
 {
     return Task<MediaObjectInfo>.Factory.FromAsync(BeginNewMediaObject(blogid, username, password, mediaObject, null, null), EndNewMediaObject);
 }
Example #4
0
 public MediaObjectInfo NewMediaObject(BlogSetting blog, MediaObject mediaObject)
 {
     return(proxy.NewMediaObject(blog.BlogInfo.blogid, blog.Username, blog.Password, mediaObject));
 }
Example #5
0
 public Task <MediaObjectInfo> NewMediaObjectAsync(BlogSetting blog, MediaObject mediaObject)
 {
     return(proxy.NewMediaObjectAsync(blog.BlogInfo.blogid, blog.Username, blog.Password, mediaObject));
 }
 public Task<MediaObjectInfo> NewMediaObjectAsync(BlogSetting blog, MediaObject mediaObject)
 {
     return proxy.NewMediaObjectAsync(blog.BlogInfo.blogid, blog.Username, blog.Password, mediaObject);
 }
 public MediaObjectInfo NewMediaObject(BlogSetting blog, MediaObject mediaObject)
 {
     return proxy.NewMediaObject(blog.BlogInfo.blogid, blog.Username, blog.Password, mediaObject);
 }
 public Task <MediaObjectInfo> NewMediaObjectAsync(string blogid, string username, string password, MediaObject mediaObject)
 {
     return(Task <MediaObjectInfo> .Factory.FromAsync(BeginNewMediaObject(blogid, username, password, mediaObject, null, null), EndNewMediaObject));
 }
 public IAsyncResult BeginNewMediaObject(string blogid, string username, string password, MediaObject mediaObject, AsyncCallback callback, object asyncState)
 {
     return(BeginInvoke("NewMediaObject", new object[] { blogid, username, password, mediaObject }, this, callback, asyncState));
 }
 public MediaObjectInfo NewMediaObject(string blogid, string username, string password, MediaObject mediaObject)
 {
     return((MediaObjectInfo)Invoke("NewMediaObject", new object[] { blogid, username, password, mediaObject }));
 }