Exemplo n.º 1
0
 /// <summary>
 /// <inheritdoc />
 /// </summary>
 /// <returns></returns>
 public PostBuilder InitializeWithDefaultValues()
 {
     CommandStatus = CommentStatusValue.Open;
     PingStatus    = PingStatusValue.Open;
     Format        = PostFormat.Standard;
     Status        = PostStatus.Pending;
     return(this);
 }
Exemplo n.º 2
0
 public MediaBuilder InitializeWithDefaultValues()
 {
     AssociatedPostId = -1;
     CommandStatus    = CommentStatusValue.Open;
     PingStatus       = PingStatusValue.Open;
     AuthorId         = -1;
     return(this);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Sets the ping status on the post
 /// </summary>
 /// <param name="pingStatus"></param>
 /// <returns></returns>
 public PostBuilder WithPingStatus(PingStatusValue pingStatus)
 {
     PingStatus = pingStatus;
     return(this);
 }