aspnetcore/test
N. Taylor Mullen 4212b7e713 Add `SetOutputContentAsync` to `TagHelperExecutionContext` to prevent allocation of `Task<T>`.
- Previously we'd do `executionContext.Output.Content = await executionContext.Output.GetChildContentAsync()`. The problem with this approach is that it returned a `Task<TagHelperContent>` which could not be optimized when building in release.
- Added test to validate `SetOutputContentAsync` does the appropriate thing.

#721
2016-04-02 22:58:37 -07:00
..
Microsoft.AspNetCore.Razor.Runtime.Test Add `SetOutputContentAsync` to `TagHelperExecutionContext` to prevent allocation of `Task<T>`. 2016-04-02 22:58:37 -07:00
Microsoft.AspNetCore.Razor.Test Add `SetOutputContentAsync` to `TagHelperExecutionContext` to prevent allocation of `Task<T>`. 2016-04-02 22:58:37 -07:00