コード例 #1
0
 public FakeHttpClientConfiguration(string baseUrl, FakeHttpMessages httpMessages, FakeRetryStrategyPolicy retryStrategyPolicy)
 {
     this.baseUrl       = baseUrl;
     this.httpMessages  = httpMessages;
     RetryStrategy      = retryStrategyPolicy;
     IdempotentRequests = retryStrategyPolicy.IdempotentRequests;
 }
コード例 #2
0
 public FakeImmediateRetryStrategy(FakeRetryStrategyPolicy fakePolicy) => this.fakePolicy = fakePolicy;
コード例 #3
0
 public FakeIdempotentRequests(FakeRetryStrategyPolicy fakePolicy) =>
 this.fakePolicy = fakePolicy;