Exemple #1
0
        public Privacy MakeBaseAlbumPublic()
        {
            Album baseAlbum = BaseAlbum;

            return(MakeAlbumPublic(ref baseAlbum));
        }
Exemple #2
0
 public Privacy MakeAlbumPublic(Album album)
 {
     return(UpdateAlbumPrivacySettings(album, Privacy.PUBLIC, ""));
 }
Exemple #3
0
 public Privacy MakeAlbumPrivate(Album album, string password)
 {
     return(UpdateAlbumPrivacySettings(album, Privacy.PRIVATE, password));
 }
Exemple #4
0
 public Privacy UpdateAlbumPrivacySettings(Album album, Privacy privacySetting, string password)
 {
     return(UpdateAlbumPrivacySettings(ref album, privacySetting, password));
 }
Exemple #5
0
 public Album CreateNewAlbumInAlbum(string albumName, Album album)
 {
     return(CreateNewAlbumInAlbum(albumName, ref album));
 }
Exemple #6
0
 public MediaItem UploadMediaItemToAlbum(MediaItem mediaItem, Album album)
 {
     return(UploadMediaItemToAlbum(mediaItem, album.Path));
 }
Exemple #7
0
        public Privacy UpdateAlbumPrivacySettings(ref Album album, Privacy privacySetting, string password)
        {
            album.Privacy = UpdateAlbumPrivacySettings(album.Path, privacySetting, password);

            return(album.Privacy);
        }
Exemple #8
0
        public Privacy GetAlbumsPrivacySettings(ref Album album)
        {
            album.Privacy = GetAlbumsPrivacySettings(album.Path);

            return(album.Privacy);
        }
Exemple #9
0
 public Privacy GetAlbumsPrivacySettings(Album album)
 {
     return(GetAlbumsPrivacySettings(ref album));
 }
Exemple #10
0
 /// <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;
 }
Exemple #11
0
 public void DeleteAlbum(Album album)
 {
     DeleteAlbum(album.Path);
 }
Exemple #12
0
 public void RenameAlbum(Album album, string newAlbumName)
 {
     RenameAlbum(ref album, newAlbumName);
 }
Exemple #13
0
        public void RenameAlbum(ref Album album, string newAlbumName)
        {
            RenameAlbum(album.Name, newAlbumName);

            album.Name = newAlbumName;
        }
Exemple #14
0
        public MediaItem UploadMediaItemToBaseAlbum(MediaItem mediaItem)
        {
            Album baseAlbum = BaseAlbum;

            return(UploadMediaItemToAlbum(mediaItem, ref baseAlbum));
        }
Exemple #15
0
        public Privacy MakeBaseAlbumPrivate(string password)
        {
            Album baseAlbum = BaseAlbum;

            return(MakeAlbumPrivate(ref baseAlbum, password));
        }
Exemple #16
0
        public Privacy GetBaseAlbumsPrivacySettings()
        {
            Album baseAlbum = BaseAlbum;

            return(GetAlbumsPrivacySettings(ref baseAlbum));
        }
Exemple #17
0
        public Album CreateNewAlbumAtBase(string albumName)
        {
            Album baseAlbum = BaseAlbum;

            return(CreateNewAlbumInAlbum(albumName, ref baseAlbum));
        }
Exemple #18
0
        public override bool Equals(object obj)
        {
            Album album = obj as Album;

            return(Username.Equals(album.Username) && Path.Equals(album.Path));
        }