Skip to content
Discussion options

You must be logged in to vote

Do you mean that when calling shellScope.UsingAsync() you'd like to see the "parent" shell's name in the executed delegate? I don't think there's a built-in way to do that. However, you can just pass the current shell's name (from an injected ShellSettings) to the delegate as a captured variable. Then, you can store it e.g. in a scoped service of yours that you can access deeper in the call chain and read out the value.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by msquare98
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants