aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
Ryan Nowak 12f8f23ccb Make BindingSource extensible
This is a major refactor of how IBinderMetadata interacts with model
binders and value providers. We're doing this to support better
extensibility for metadata in ApiExplorer.

You'll notice a bunch of deleted code in DefaultApiDescriptionProvider
that maps metadata marker interfaces to a fixed list of Api sources. This
is replaced now with IBindingSourceMetadata - which also replaces the
hierarchy of marker interfaces. Now user code can create an arbitrary
binding source and have a consistent API for model-binders,
value-providers and full-visibility in ApiExplorer as
well.

Additonally, there's some error checking in place that better enforces the
constraints we already have in the system. IE you can't create a 'greedy'
model binder that uses value-provider data.

Two additional enhancements are planned for followup PRs:
1. Add a BindingSource property to model-metadata. This will remove some
duplication, but I want to delay it because it would touch another 10 or
so files.

2. Add an extensibility interface for our 'special' model binders like the
file binder so these can show up in ApiExplorer as well.
2015-02-05 13:41:31 -08:00
..
ActionResults [Fix for #1850]Produces, Consumes and ObjectResult throw if there is a match all content type. 2015-01-30 15:54:58 -08:00
AntiXsrf
ApplicationModel
Description Make BindingSource extensible 2015-02-05 13:41:31 -08:00
Filters Issue #1785 - Changes to add CacheProfiles for response caching. 2015-02-04 15:25:45 -08:00
Formatters Implement StreamOutputFormatter 2015-02-04 16:04:02 -08:00
Internal
Logging
OptionDescriptors
ParameterBinding Make BindingSource extensible 2015-02-05 13:41:31 -08:00
Properties
Rendering Use `[Display(Order=x)]` to sort validation messages and properties 2015-01-29 09:31:05 -08:00
Routing Adding functional tests and attribute route tests. 2015-01-31 23:15:13 -08:00
TestFiles
Utils
ViewComponents Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
ActionConstraintValuesTest.cs
ActionDescriptorValuesTest.cs
ActionExecutorTests.cs
ActionModelValuesTest.cs
ApiExplorerModelValuesTest.cs
AttributeRouteInfoValuesTest.cs
AttributeRouteModelValuesTest.cs
BodyModelBinderTests.cs Make BindingSource extensible 2015-02-05 13:41:31 -08:00
ConsumesAttributeTests.cs [Fix for #1850]Produces, Consumes and ObjectResult throw if there is a match all content type. 2015-01-30 15:54:58 -08:00
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs
ControllerActionInvokerTest.cs Fix for #1538 and #1891 2015-01-28 16:53:28 -08:00
ControllerModelValuesTest.cs
ControllerTests.cs
ControllerUnitTestabilityTests.cs
DefaultActionDescriptorCollectionProviderLoggingTest.cs
DefaultActionSelectorSelectAsyncValuesTest.cs
DefaultActionSelectorTests.cs
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
DefaultControllerFactoryTest.cs
DefaultInputFormatterSelectorTests.cs
DefaultViewComponentActivatorTests.cs Issue #1525 - Enhancements to ActionContext 2015-01-27 14:35:31 -08:00
FilterDescriptorValuesTest.cs
FilterValuesTest.cs
FormatterMappingsTest.cs Adding ClearMediaTypeMappingForFormat to FormatterMappings and other PR comments 2015-01-31 23:18:24 -08:00
HttpMethodProviderAttributesTests.cs
JsonResultTest.cs
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.kproj [Fixes #1121,#1508] Wrap objects for serialization/deserialization and DelegatingEnumerable<> support for IEnumerable<T> and IQueryable<T> 2015-01-30 18:10:01 -08:00
MockModelBinderProvider.cs
MockModelValidatorProviderProvider.cs
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
MockValueProviderFactoryProvider.cs
MvcOptionsTests.cs Issue #1785 - Changes to add CacheProfiles for response caching. 2015-02-04 15:25:45 -08:00
MvcRouteHandlerTests.cs
RemoteAttributeTest.cs React to quick cleanup in Routing 2015-01-30 17:52:10 -08:00
RequireHttpsAttributeTests.cs
RouteConstraintProviderValuesTest.cs
RouteDataActionConstraintTest.cs
RouteDataActionConstraintValuesTest.cs
RouteTemplateProviderAttributesTest.cs
SerializableErrorWrapperTests.cs
StaticAssemblyProvider.cs
StaticControllerModelBuilder.cs
TestController.cs
TestGlobalFilterProvider.cs
TestValueProvider.cs Make BindingSource extensible 2015-02-05 13:41:31 -08:00
TypeHelperTest.cs
UrlHelperTest.cs React to quick cleanup in Routing 2015-01-30 17:52:10 -08:00
ViewComponentTests.cs
ViewDataDictionaryOfTModelTest.cs
ViewDataDictionaryTest.cs
project.json