Example #1
0
        public ThreadBuilder WithPost(PostBuilder postBuilder)
        {
            if (postBuilder == null)
            {
                throw new ArgumentNullException(nameof(postBuilder));
            }

            postBuilder.InThread(_thread);
            _postBuilder = postBuilder;
            return(this);
        }