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: As there is no _AsTask()_ method, I assume you 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: As there is no _AsTask()_ method, I assume you mean _ExecuteAsync()_.