How does the Console.WriteLine
Interceptors work ?
#3202
-
Hi, I've been studying the code in the repository for a few hours now and I can't really make heads or tails of how the stdout and stderr redirect is working on a per async context basis. From what I can tell - My assumption is that because there is a So - I assume that means that the actual
This doesn't explain what happens when Can anyone explain to me how this is supposed to work? What is the pathway by which a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yep this is right. When tests are invoked, they will be in the correct async context that the interceptor can call TestContext.Current to get the correct context.
Yes probably. This isn't really properly supported or tested. Can I ask what you're trying to achieve? |
Beta Was this translation helpful? Give feedback.
Yep this is right. When tests are invoked, they will be in the correct async context that the interceptor can call TestContext.Current to get the correct context.
Yes probably. …