public Response StatusCode(StatusAndSubStatusCode statusCode) { statusCode.ThrowIfNull("statusCode"); _statusCode = statusCode; return(this); }
public Response(StatusAndSubStatusCode statusCode) { _statusCode = statusCode; }
public Response StatusCode(HttpStatusCode statusCode, int subStatusCode = 0) { _statusCode = new StatusAndSubStatusCode(statusCode, subStatusCode); return(this); }