예제 #1
0
 public Post(PostContent content, PublishingDates publishingDates)
 {
     Contract.Requires(content != null && publishingDates != null);
     Content         = content;
     PublishingDates = publishingDates;
     Tags            = new List <Tag>();
     Categories      = new List <Category>();
 }
예제 #2
0
 public static Post Create(PostContent content, PublishingDates publishingDates)
 {
     return(null);
     //return new Post(content, publishingDates);
 }