diff --git a/PocketSharp/Models/PocketItem.cs b/PocketSharp/Models/PocketItem.cs index 76236a3..311b9a0 100644 --- a/PocketSharp/Models/PocketItem.cs +++ b/PocketSharp/Models/PocketItem.cs @@ -3,6 +3,7 @@ using PropertyChanged; using System; using System.Collections.Generic; using System.Diagnostics; +using System.Linq; namespace PocketSharp.Models { @@ -301,6 +302,17 @@ namespace PocketSharp.Models [JsonProperty("time_favorited")] public DateTime? FavoriteTime { get; set; } + /// + /// Gets or sets the tags as comma-separated strings. + /// + /// + /// The tags. + /// + [JsonIgnore] + public string TagsString + { + get { return Tags != null ? String.Join(",", Tags.Select(tag => tag.Name)) : ""; } + } /// /// Gets or sets the tags.