private void Process(StepInstance stepInstance) { const string method = "Process"; if (EventSource.IsEnabled(Event.MethodEnter)) { EventSource.Raise(Event.MethodEnter, method); } // Process the next step. Interlocked.Increment(ref _outstandingRequests); _stepRunner.BeginProcessRequest(stepInstance, ProcessCallback, stepInstance.ProfileInstance); if (EventSource.IsEnabled(Event.MethodExit)) { EventSource.Raise(Event.MethodExit, method); } }
private void ProcessMessage(Message message) { _sink.BeginProcessRequest(message.BodyStream, ChannelCallback, null); }