コード例 #1
0
 public ListOutPostByBlogResponse(
     Guid id,
     string title,
     string excerpt,
     string slug,
     DateTime createdAt,
     ListOutPostByBlogUserResponse author,
     List <ListOutPostByBlogTagResponse> tags)
 {
     Id        = id;
     Title     = title;
     Excerpt   = excerpt;
     Slug      = slug;
     CreatedAt = createdAt;
     Author    = author;
     Tags      = tags;
 }
コード例 #2
0
 public ListOutPostByBlogResponse SetAuthor(string id, string familyName, string givenName)
 {
     Author = new ListOutPostByBlogUserResponse(id, familyName, givenName);
     return(this);
 }