Ejemplo n.º 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>();
 }
Ejemplo n.º 2
0
 public static Post Create(PostContent content, PublishingDates publishingDates)
 {
     return(null);
     //return new Post(content, publishingDates);
 }