From d39b1a3786e59411fd00f823c4a440c0b05e1796 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Fri, 20 Jun 2014 19:28:28 -0700 Subject: [PATCH] ActionDescriptor.Parameters is not populated by provider --- .../ReflectedActionDescriptorProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Mvc.Core/ReflectedActionDescriptorProvider.cs b/src/Microsoft.AspNet.Mvc.Core/ReflectedActionDescriptorProvider.cs index ef89347a0d..291d742b17 100644 --- a/src/Microsoft.AspNet.Mvc.Core/ReflectedActionDescriptorProvider.cs +++ b/src/Microsoft.AspNet.Mvc.Core/ReflectedActionDescriptorProvider.cs @@ -142,7 +142,7 @@ public List Build(ReflectedApplicationModel model) Name = action.ActionName, ControllerDescriptor = controllerDescriptor, MethodInfo = action.ActionMethod, - Parameters = new List(), + Parameters = parameterDescriptors, RouteConstraints = new List(), };