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