private static void AssertCascadedMessages(MessageRecorder recorder)
        {
            // will succeed on the retry because we change the text in the handler.
            // basically just proving that the interplay w/ exception handling behaviors
            // and continuations within the invocation is working

            recorder.Messages.ShouldContain("now it is good");
            recorder.Messages.ShouldContain("now it is good-2");
            recorder.Messages.ShouldContain("now it is good-2-4");
            recorder.Messages.ShouldContain("now it is good-2-3");
            recorder.Messages.ShouldContain("Traced: now it is good");
        }
Exemplo n.º 2
0
 public WebMessageHandler(MessageRecorder recorder)
 {
     _recorder = recorder;
 }
Exemplo n.º 3
0
 public WebMessageHandler(MessageRecorder recorder)
 {
     _recorder = recorder;
 }