This change avoids a state machine allocation and a dictionary allocation on the common case (no bound properties). Ugly? You bet. Worth it? Yeah, seems worthwhile. This is worth about 200 bytes/request - about 3% of allocated bytes in a smallish API scenario. |
||
|---|---|---|
| .. | ||
| ActionExecutorTests.cs | ||
| ControllerActionArgumentBinderTests.cs | ||
| ControllerActionDescriptorBuilderTest.cs | ||
| ControllerActionDescriptorProviderTests.cs | ||
| ControllerActionInvokerTest.cs | ||
| DefaultControllerActivatorTest.cs | ||
| DefaultControllerFactoryTest.cs | ||
| DefaultControllerTypeProviderTest.cs | ||
| ServiceBasedControllerActivatorTest.cs | ||
| TestController.cs | ||