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

Commented 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?
Comments: Sorry, yes I mean ExecuteAsync().

Viewing all articles
Browse latest Browse all 1760

Trending Articles