Пример #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;
 }