Beispiel #1
0
        public static void SetCustomHandlerCallbacks(ISoapLoggerHandlerClient client)
        {
            if (client == null)
            {
                throw new ArgumentNullException("client");
            }

            _client = client;
        }
Beispiel #2
0
 internal static void CallResponseCallback(byte[] responseBody, SoapLoggerSettings settings)
 {
     try
     {
         _client.HandleResponseBodyCallback(responseBody, settings);
     }
     finally
     {
         _client = null;
     }
 }