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

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