Ejemplo n.º 1
0
 public string FormatAsTimelineEntry(Post post)
 {
     return $"{post.Message} ({TimeAgo(post.Date)})";
 }
Ejemplo n.º 2
0
 public string FormatAsWallEntry(Post post)
 {
     return $"{post.User} - {post.Message} ({TimeAgo(post.Date)})";
 }
Ejemplo n.º 3
0
 public void StorePost(Post post)
 {
     Posts.Add(post);
 }