aspnetcore/test/Microsoft.AspNet.Mvc.Functi...
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
..
Compiler/Resources Added custom exception message for Format Exception 2015-02-05 10:51:32 -08:00
Logging
ActionResultTests.cs [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
ActivatorTests.cs
AntiForgeryTestHelper.cs
AntiForgeryTests.cs
ApiExplorerTest.cs Make BindingSource extensible 2015-02-05 13:41:31 -08:00
ApplicationModelTest.cs
BasicTests.cs Adding extension methods ConfigureMvcOptions and ConfigureRazorViewEngineOptions. 2015-02-04 14:07:07 -08:00
CompilationOptionsTests.cs
CompositeViewEngineTests.cs
ConnegTests.cs Incorporating PR comments - 1/19 2015-01-31 23:15:19 -08:00
ConsumesAttributeTests.cs
CustomRouteTest.cs
CustomUrlHelperTests.cs
DefaultOrderTest.cs
DependencyResolverTests.cs
DirectivesTest.cs
ErrorPageTests.cs
ExceptionInfo.cs
FileResultTests.cs
FiltersTest.cs
FlushPointTest.cs
FormatFilterTest.cs Changing produces and format filter interaction 2015-01-31 23:18:18 -08:00
HttpResponseMessageExceptions.cs
InlineConstraintTests.cs
InputFormatterTests.cs
InputObjectValidationTests.cs
JsonOutputFormatterTests.cs [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
JsonResultTest.cs
LinkGenerationTests.cs
Microsoft.AspNet.Mvc.FunctionalTests.kproj Changing produces and format filter interaction 2015-01-31 23:18:18 -08:00
ModelBindingFromHeaderTest.cs [Fix for #1929] HeaderModelBinder needs to honor explicit name. 2015-02-03 19:36:48 -08:00
ModelBindingModelBinderAttributeTest.cs
ModelBindingTest.cs Added custom exception message for Format Exception 2015-02-05 10:51:32 -08:00
ModelMetadataAttributeTest.cs
MvcSampleTests.cs
MvcStartupTests.cs
MvcTagHelpersTest.cs Add the LinkTagHelper: 2015-02-03 10:12:38 -08:00
NullLoggerFactory.cs
OutputFormatterTest.cs
PrecompilationTest.cs Updating CompilerCache to use IMemoryCache and file system watcher to 2015-02-05 09:52:17 -08:00
RazorCompilerCacheTest.cs Updating CompilerCache to use IMemoryCache and file system watcher to 2015-02-05 09:52:17 -08:00
RazorInstrumentationTests.cs
RazorViewEngineOptionsTest.cs
RazorViewLocationSpecificationTest.cs
RemoteAttributeValidationTest.cs
RequestServicesTest.cs
ResourceHelpers.cs
RespectBrowserAcceptHeaderTests.cs
ResponseCacheTest.cs Issue #1785 - Changes to add CacheProfiles for response caching. 2015-02-04 15:25:45 -08:00
RoundTripTests.cs
RouteDataTest.cs
RoutingTests.cs
SerializableErrorTests.cs [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
StreamOutputFormatterTest.cs Implement StreamOutputFormatter 2015-02-04 16:04:02 -08:00
TagHelperSampleTest.cs Add the LinkTagHelper: 2015-02-03 10:12:38 -08:00
TagHelpersTest.cs
TestApplicationEnvironment.cs
TestAssemblyProvider.cs
TestConfigurationProvider.cs
TestHelper.cs
TryValidateModelTest.cs
ValueProviderTest.cs
VersioningTests.cs
ViewComponentTests.cs
ViewEngineTests.cs
WebApiCompatShimActionResultTest.cs
WebApiCompatShimActionSelectionTest.cs
WebApiCompatShimBasicTest.cs
WebApiCompatShimParameterBindingTest.cs
XmlDataContractSerializerFormattersWrappingTest.cs [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
XmlOutputFormatterTests.cs
XmlSerializerFormattersWrappingTest.cs [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
XmlSerializerInputFormatterTests.cs
project.json Updating CompilerCache to use IMemoryCache and file system watcher to 2015-02-05 09:52:17 -08:00