public QueryParamBuilder(IApiStubState state, string key) : base(state) { if (string.IsNullOrEmpty(key)) { throw new ArgumentNullException(nameof(key)); } _key = key; }
public HttpRequestMockExpectation( ApiStubState state, int retryCount, TimeSpan retryInterval) { if (retryCount < 0) { throw new ArgumentOutOfRangeException(nameof(retryCount)); } _state = state ?? throw new ArgumentNullException(nameof(state)); _retryCount = retryCount; _retryInterval = retryInterval; }
public MockHttpRequestAction(IApiStubState state) { _state = state ?? throw new ArgumentNullException(nameof(state)); }
protected StubBuilderBase(IApiStubState state) { State = state ?? throw new ArgumentNullException(nameof(state)); }
public RequestBuilder(IApiStubState state) : base(state) { }
public ApiStubBuilder(IApiStubState state) : base(state) { }
public RequestCountBuilder(IApiStubState state) { _state = state ?? throw new ArgumentNullException(nameof(state)); }
public ResponseBuilder(IApiStubState state) : base(state) { }
public BodyBuilder(IApiStubState state) : base(state) { }