public MockDelegatingHandler(HttpMessageHandler innerHandler, bool throwInSendAsync = false)
     : base(innerHandler)
 {
     _throwInSendAsync = throwInSendAsync;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProgressMessageHandler"/> class.
 /// </summary>
 /// <param name="innerHandler">The inner handler to which this handler submits requests.</param>
 public ProgressMessageHandler(HttpMessageHandler innerHandler)
     : base(innerHandler)
 {
 }
 public MockHandler(HttpMessageHandler innerHandler, bool callInProcessRequest, Action customAction)
     : base(innerHandler)
 {
     _customAction = customAction;
     _callInProcessRequest = callInProcessRequest;
 }
 public MockHandler(HttpMessageHandler innerHandler) : base(innerHandler)
 {
 }
 public MockHandler(HttpMessageHandler innerHandler)
     : this(innerHandler, true, null)
 {
 }