How to call Task from another Task. #4105
Unanswered
FlorianWDP
asked this question in
Q&A
Replies: 2 comments
-
What's the reason you try to split this across multiple tasks instead of handling it inside a single task?
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm still working through stuff myself, but couldn't you just pass the task in through the dependency injection framework via the constructor? Or, alternatively, take the logic of the actual publish out of the task itself, and use the task as a form of abstraction, then you can invoke the other task's logic via the logic runner that's no longer in the task. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the title says, i want to use a Task as an entry point, which parses all my projects and then calls another Task for each project.
I want to trigger the chain of dependencies on the Task that is called.
Beta Was this translation helpful? Give feedback.
All reactions