Commits

lfoust  committed 2c6ef6a

Added related sites to Site Entity

  • Participants
  • Parent commits 341105b
  • Branches V2.0

Comments (0)

Files changed (1)

File trunk/source/Stacky/Entities/Site.cs

 {
     using System;
     using Newtonsoft.Json;
+using System.Collections.Generic;
 
     public class Site : Entity
     {
             set { markdownExtensions = value; NotifyOfPropertyChange(() => MarkdownExtensions); }
         }
 
-        //TODO: Add related_sites
-        //public List<RelatedSite> RelatedSites
-        //{
-        //}
+        private List<RelatedSite> relatedSites = new List<RelatedSite>();
+        public List<RelatedSite> RelatedSites
+        {
+            get { return relatedSites; }
+            set { relatedSites = value; NotifyOfPropertyChange(() => RelatedSites); }
+        }
     }
 }