Example #1
0
        public Post(User author, Picture picture, PostText text)
            : this()
        {
            Author  = author;
            Picture = picture;
            _text   = text;

            PostDate = DateTimeOffset.Now;
        }
Example #2
0
 public virtual void UpdateText(PostText text)
 {
     _text = text.Value;
 }