Give me an exemple about AsyncCommand? #1350
Answered
by
JKamsker
antoniomldev
asked this question in
Q&A
-
Hey guys, i am very newbie in this lib and C# world. I have prior knowledge in JS and so, but i am little bit confused when i tried to create async command that need to other command to be solved, anyone can be provide-me an example that what i need to do? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
JKamsker
Nov 1, 2023
Replies: 1 comment
-
Extract common functionality into a service class and inject that into both commmands. Alternatively you can inject an ICommandApp and run subcommands through that |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
antoniomldev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Extract common functionality into a service class and inject that into both commmands.
Alternatively you can inject an ICommandApp and run subcommands through that