public FubuContinuation post_numbers(NumberPost input)
        {
            var numbers =
                input.Numbers.ToDelimitedArray().Select(x => { return new NumberMessage {Value = int.Parse(x)}; });

            numbers.Each(x => _serviceBus.Send<NumberMessage>(x));

            return
                FubuContinuation.RedirectTo<FubuMVC.Instrumentation.Features.Instrumentation.InstrumentationFubuDiagnostics>(
                    x => x.get_instrumentation(null));
        }
Пример #2
0
        public FubuContinuation post_numbers(NumberPost input)
        {
            var numbers =
                input.Numbers.ToDelimitedArray().Select(x => { return(new NumberMessage {
                    Value = int.Parse(x)
                }); });

            numbers.Each(x => _serviceBus.Send <NumberMessage>(x));

            throw new NotImplementedException("Took instrementation out");

//            return
//                FubuContinuation.RedirectTo<FubuMVC.Instrumentation.Features.Instrumentation.InstrumentationFubuDiagnostics>(
//                    x => x.get_instrumentation(null));
        }