Exemplo n.º 1
0
        public Privacy MakeBaseAlbumPublic()
        {
            Album baseAlbum = BaseAlbum;

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

            return(album.Privacy);
        }
Exemplo n.º 8
0
        public Privacy GetAlbumsPrivacySettings(ref Album album)
        {
            album.Privacy = GetAlbumsPrivacySettings(album.Path);

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

            album.Name = newAlbumName;
        }
Exemplo n.º 14
0
        public MediaItem UploadMediaItemToBaseAlbum(MediaItem mediaItem)
        {
            Album baseAlbum = BaseAlbum;

            return(UploadMediaItemToAlbum(mediaItem, ref baseAlbum));
        }
Exemplo n.º 15
0
        public Privacy MakeBaseAlbumPrivate(string password)
        {
            Album baseAlbum = BaseAlbum;

            return(MakeAlbumPrivate(ref baseAlbum, password));
        }
Exemplo n.º 16
0
        public Privacy GetBaseAlbumsPrivacySettings()
        {
            Album baseAlbum = BaseAlbum;

            return(GetAlbumsPrivacySettings(ref baseAlbum));
        }
Exemplo n.º 17
0
        public Album CreateNewAlbumAtBase(string albumName)
        {
            Album baseAlbum = BaseAlbum;

            return(CreateNewAlbumInAlbum(albumName, ref baseAlbum));
        }
Exemplo n.º 18
0
        public override bool Equals(object obj)
        {
            Album album = obj as Album;

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