コード例 #1
0
 /// <summary>
 /// 创建相册
 /// </summary>
 public void CreateAlbum(string name, string description,string location, CreateAlbumRequest.CreateAlbumCompletedHandler callback)
 {
     if (createAlbumBS == null)
      {
          createAlbumBS = new CreateAlbumBS();
      }
      createAlbumBS.CleanCreatAlbumEvent();
      createAlbumBS.CreateAlbumCompleted += callback;
      createAlbumBS.CreateAlbum(name, description, location);
 }
コード例 #2
0
 /// <summary>
 /// 创建相册
 /// </summary>
 public void CreateAlbum(string name, string description, string location, CreateAlbumRequest.CreateAlbumCompletedHandler callback)
 {
     if (createAlbumBS == null)
     {
         createAlbumBS = new CreateAlbumBS();
     }
     createAlbumBS.CleanCreatAlbumEvent();
     createAlbumBS.CreateAlbumCompleted += callback;
     createAlbumBS.CreateAlbum(name, description, location);
 }
コード例 #3
0
 /// <summary>
 /// 清空信息
 /// </summary>
 public void LogOut()
 {
     loginBS       = null;
     friendBS      = null;
     loginViewBS   = null;
     uploadBS      = null;
     getUserInfoBS = null;
     getAlbumsBS   = null;
     createAlbumBS = null;
     apiRequestBS  = null;
     RenrenInfo.CleanUp();
 }
コード例 #4
0
 /// <summary>
 /// 清空信息
 /// </summary>
 public void LogOut()
 {
     loginBS = null;
     friendBS = null;
     loginViewBS = null;
     uploadBS = null;
     getUserInfoBS = null;
     getAlbumsBS = null;
     createAlbumBS = null;
     apiRequestBS = null;
     RenrenInfo.CleanUp();
 }