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 Fix for #384 - And some other changes to controller as filter 2015-01-16 19:15:59 -08:00
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 Revert "Revert "Added SetAntiForgeryCookieAndHeader method that sets cookie token and header"" 2015-01-20 10:51:44 -08:00
ApiExplorerTest.cs Make BindingSource extensible 2015-02-05 13:41:31 -08:00
ApplicationModelTest.cs Provided a way to add data to ActionDescriptor from ApplicationModel. 2015-01-26 15:20:02 -08:00
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 Adding Support for consumes. 2015-01-16 14:15:08 -08:00
CustomRouteTest.cs Adding a sample (test) for using custom IRouter implementation with MVC 2015-01-15 16:31:21 -08:00
CustomUrlHelperTests.cs
DefaultOrderTest.cs
DependencyResolverTests.cs
DirectivesTest.cs
ErrorPageTests.cs
ExceptionInfo.cs
FileResultTests.cs
FiltersTest.cs Fix for #384 - And some other changes to controller as filter 2015-01-16 19:15:59 -08:00
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 Added functionaltests for ModelMetadataType attribute and moved TryValidateModel tests actions to ValidationWebSite 2015-01-27 15:56:49 -08:00
MvcSampleTests.cs
MvcStartupTests.cs
MvcTagHelpersTest.cs Add the LinkTagHelper: 2015-02-03 10:12:38 -08:00
NullLoggerFactory.cs
OutputFormatterTest.cs Rename TextPlainFormatter and remove other minor warnings 2015-01-16 12:09:53 -08:00
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 Handle IFileSystem rename. 2015-01-20 12:16:30 -08:00
RazorViewLocationSpecificationTest.cs
RemoteAttributeValidationTest.cs Add functional test of `[Remote]` 2015-01-30 12:33:00 -08:00
RequestServicesTest.cs
ResourceHelpers.cs
RespectBrowserAcceptHeaderTests.cs [Fixes #1791]Remove XML formatter from defaults 2015-01-15 15:46:49 -08:00
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 Added functionaltests for ModelMetadataType attribute and moved TryValidateModel tests actions to ValidationWebSite 2015-01-27 15:56:49 -08:00
ValueProviderTest.cs
VersioningTests.cs
ViewComponentTests.cs
ViewEngineTests.cs Layouts for partials 2015-01-20 11:44:48 -08:00
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 [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00
project.json Updating CompilerCache to use IMemoryCache and file system watcher to 2015-02-05 09:52:17 -08:00