コード例 #1
0
        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");
        }
コード例 #2
0
ファイル: Messages.cs プロジェクト: kingreatwill/fubumvc
 public WebMessageHandler(MessageRecorder recorder)
 {
     _recorder = recorder;
 }
コード例 #3
0
 public WebMessageHandler(MessageRecorder recorder)
 {
     _recorder = recorder;
 }