public Privacy MakeBaseAlbumPublic() { Album baseAlbum = BaseAlbum; return(MakeAlbumPublic(ref baseAlbum)); }
public Privacy MakeAlbumPublic(Album album) { return(UpdateAlbumPrivacySettings(album, Privacy.PUBLIC, "")); }
public Privacy MakeAlbumPrivate(Album album, string password) { return(UpdateAlbumPrivacySettings(album, Privacy.PRIVATE, password)); }
public Privacy UpdateAlbumPrivacySettings(Album album, Privacy privacySetting, string password) { return(UpdateAlbumPrivacySettings(ref album, privacySetting, password)); }
public Album CreateNewAlbumInAlbum(string albumName, Album album) { return(CreateNewAlbumInAlbum(albumName, ref album)); }
public MediaItem UploadMediaItemToAlbum(MediaItem mediaItem, Album album) { return(UploadMediaItemToAlbum(mediaItem, album.Path)); }
public Privacy UpdateAlbumPrivacySettings(ref Album album, Privacy privacySetting, string password) { album.Privacy = UpdateAlbumPrivacySettings(album.Path, privacySetting, password); return(album.Privacy); }
public Privacy GetAlbumsPrivacySettings(ref Album album) { album.Privacy = GetAlbumsPrivacySettings(album.Path); return(album.Privacy); }
public Privacy GetAlbumsPrivacySettings(Album album) { return(GetAlbumsPrivacySettings(ref album)); }
/// <summary> /// deletes from server and sets album to null /// </summary> /// <param name="album"></param> public void DeleteAlbum(ref Album album) { DeleteAlbum(album.Path); album = null; }
public void DeleteAlbum(Album album) { DeleteAlbum(album.Path); }
public void RenameAlbum(Album album, string newAlbumName) { RenameAlbum(ref album, newAlbumName); }
public void RenameAlbum(ref Album album, string newAlbumName) { RenameAlbum(album.Name, newAlbumName); album.Name = newAlbumName; }
public MediaItem UploadMediaItemToBaseAlbum(MediaItem mediaItem) { Album baseAlbum = BaseAlbum; return(UploadMediaItemToAlbum(mediaItem, ref baseAlbum)); }
public Privacy MakeBaseAlbumPrivate(string password) { Album baseAlbum = BaseAlbum; return(MakeAlbumPrivate(ref baseAlbum, password)); }
public Privacy GetBaseAlbumsPrivacySettings() { Album baseAlbum = BaseAlbum; return(GetAlbumsPrivacySettings(ref baseAlbum)); }
public Album CreateNewAlbumAtBase(string albumName) { Album baseAlbum = BaseAlbum; return(CreateNewAlbumInAlbum(albumName, ref baseAlbum)); }
public override bool Equals(object obj) { Album album = obj as Album; return(Username.Equals(album.Username) && Path.Equals(album.Path)); }