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().
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().