Amazon.DNXCore.IntegrationTests.ServiceResponseCounter.ServiceResponseCounter C# (CSharp) Method

ServiceResponseCounter() public method

public ServiceResponseCounter ( AmazonServiceClient client, Predicate requestsToCount = null ) : Amazon.Runtime
client AmazonServiceClient
requestsToCount Predicate
return Amazon.Runtime
        public ServiceResponseCounter(AmazonServiceClient client, Predicate<AmazonWebServiceRequest> requestsToCount = null)
        {
            ResponseCount = 0;
            Client = client;
            RequestsToCount = requestsToCount;

            SetCallbacks(Attach, Detach);
        }