Beispiel #1
0
        public StepPositionsResponse Process(StepPositionsRequest request)
        {
            var response = new StepPositionsResponse();

            response.StepPositions.AddRange(_stepRegistry.GetStepPositions(request.FilePath));
            return(response);
        }
        public Message Process(Message request)
        {
            var positions             = _stepRegistry.GetStepPositions(request.StepPositionsRequest.FilePath);
            var stepPositionsResponse = new StepPositionsResponse();

            stepPositionsResponse.StepPositions.AddRange(positions);
            return(new Message {
                StepPositionsResponse = stepPositionsResponse
            });
        }