aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
Ryan Nowak 78a4e78358 Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute
IActionConstraint follows a provider model similar to filters. The
attributes that go on actions/controllers can be simple metadata markers,
the 'real' constraint is provided by a set of configurable providers. In
general the simplest thing to do is to be both an
IActionConstraintMetadata and IActionConstraint, and then the default
provider will take care of you.

IActionConstraint now has stages based on the Order property. Each group
of constraints with the same Order will run together on the set of
actions. This process is repeated for each value of Order until we run out
of actions or run out of constraints.

The IActionConstraint interface is beefier than the equivalent in legacy
MVC. This is to support cooperative coding between sets of constraints
that know about each other. See the changes in the sample, which implement
webapi-style overloading.
2014-10-03 18:50:01 -07:00
..
ActionResults Issue #1141 - When Accept header or Accept-Charset header has invalid QualityFactor we throw. 2014-10-03 16:25:51 -07:00
AntiXsrf
Description Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
Filters
Formatters Fix for 1071: Output Formatters should be invoked for writing out the response. 2014-10-03 10:54:59 -07:00
Internal
Logging
OptionDescriptors
ParameterBinding
Properties
ReflectedModelBuilder Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
Rendering
Routing
TestFiles [Fixes #429] FileResult 2014-10-02 12:50:24 -07:00
ViewComponents
ActionAttributeTests.cs Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
ActionExecutorTests.cs
ControllerTests.cs [Fixes #429] FileResult 2014-10-02 12:50:24 -07:00
CopyOnWriteDictionaryTest.cs
DefaultActionDiscoveryConventionsActionSelectionTests.cs Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
DefaultActionDiscoveryConventionsTests.cs Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
DefaultActionSelectorTests.cs Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
DefaultControllerActivatorTest.cs
DefaultControllerAssemblyProviderTests.cs
DefaultControllerFactoryTest.cs
DefaultInputFormatterSelectorTests.cs
DefaultViewComponentActivatorTests.cs
HttpMethodProviderAttributesTests.cs
JsonResultTest.cs
KnownRouteValueConstraintTests.cs
MediaTypeWithQualityHeaderValueTests.cs Issue #1141 - When Accept header or Accept-Charset header has invalid QualityFactor we throw. 2014-10-03 16:25:51 -07:00
Microsoft.AspNet.Mvc.Core.Test.kproj
MockMvcOptionsAccessor.cs
MvcOptionsTests.cs
MvcRouteHandlerTests.cs
PropertyHelperTest.cs
ReflectedActionDescriptorProviderTests.cs Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
ReflectedActionInvokerTest.cs Fix for 1071: Output Formatters should be invoked for writing out the response. 2014-10-03 10:54:59 -07:00
RequireHttpsAttributeTests.cs
RouteTemplateProviderAttributesTests.cs
StaticActionDiscoveryConventions.cs
StaticControllerAssemblyProvider.cs
TestController.cs
TestGlobalFilterProvider.cs
TypeHelperTest.cs
UrlHelperTest.cs
ViewComponentTests.cs
ViewDataDictionaryTest.cs
ViewResultTest.cs
project.json