[banshee] PlaylistElement: adjust accessibility of property setters to internal



commit e9afe2d00a1490ec6fbfef6b1c1ff1f11a39561d
Author: Andres G. Aragoneses <knocte gmail com>
Date:   Sun Dec 2 02:21:55 2012 +0000

    PlaylistElement: adjust accessibility of property setters to internal
    
    No need to expose the setters of PlaylistElement's properties as public,
    as there is no code from outside this assembly that is initializing or
    modifying them. This benefits encapsulation.
    
    No change of behaviour in this commit.

 .../Banshee.Playlists.Formats/PlaylistElement.cs   |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Playlists.Formats/PlaylistElement.cs b/src/Core/Banshee.Services/Banshee.Playlists.Formats/PlaylistElement.cs
index 269f898..889191b 100644
--- a/src/Core/Banshee.Services/Banshee.Playlists.Formats/PlaylistElement.cs
+++ b/src/Core/Banshee.Services/Banshee.Playlists.Formats/PlaylistElement.cs
@@ -31,9 +31,9 @@ namespace Banshee.Playlists.Formats
 {
     public class PlaylistElement
     {
-        public string Title { get; set; }
-        public Uri Uri { get; set; }
-        public TimeSpan Duration { get; set; }
+        public string Title { get; internal set; }
+        public Uri Uri { get; internal set; }
+        public TimeSpan Duration { get; internal set; }
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]