Exemplo n.º 1
0
        private HttpHandler(
            string url, Handler handlerFunction, HttpMethods httpMethod, int count)
        {
            Count           = count;
            HandlerFunction = handlerFunction;
            HttpMethod      = httpMethod.GetMethod();
            Url             = url;

            MockHttpHandler = new MockHttpHandler(
                url, HttpMethod, HandlerFunctionWithCounter);
        }