Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

Edited Unassigned: Result turned into a Task using ExecuteAsync is not passed through IoC. [314]

$
0
0
We have the option to use the original coroutines or using C#5 async/await.

However, taking a class based on IResult and calling AsResult on it to return a Task for async/await doesn't pass it through IoC.BuildUp to inject properties (IWindowManager etc.).

For consistency could we pass it through IoC.BuildUp before execution or is there some other reason for this?

Viewing all articles
Browse latest Browse all 1760

Trending Articles