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