Amazon.DNXCore.IntegrationTests.ServiceResponseCounter.ServiceResponseCounter C# (CSharp) Méthode

ServiceResponseCounter() public méthode

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

            SetCallbacks(Attach, Detach);
        }