/// <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); }
/// <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); }
/// <summary> /// 清空信息 /// </summary> public void LogOut() { loginBS = null; friendBS = null; loginViewBS = null; uploadBS = null; getUserInfoBS = null; getAlbumsBS = null; createAlbumBS = null; apiRequestBS = null; RenrenInfo.CleanUp(); }