aspnetcore/test/WebSites
Ryan Nowak f5e7a69693 Updates to the extensibility for validator providers
This change removes reflection from validator providers, and instead
relies on cached metadata in in the modelmetadata.

In general this means that our MVPs don't need to cache anything, they
just look at the metadata and create what they need.

In the case of data-annotations, we update the model details provider to
add validation attributes to the modelmetadata. This would allow someone
to replace the DataAnnotationsValidatorProvider, but still use the
metadata in these attributes.

The change to the IModelValidatorProvider api (to use a context) is
intended to minimize allocations. Currently each validator provider needs
to return a list so you end up with N+1 lists (N validators + a final list
to compine them all). This change will let us just create the final list
(and a small context object). This is a very very high traffic API so it
seemed worth doing.

There's also some general massaging of namespaces and file locations.
2015-03-20 15:19:25 -07:00
..
ActionConstraintsWebSite
ActionResultsWebSite
ActivatorWebSite
AddServicesWebSite
AntiForgeryWebSite
ApiExplorerWebSite
ApplicationModelWebSite
AutofacWebSite
BasicWebSite
BestEffortLinkGenerationWebSite
CompositeViewEngineWebSite
ContentNegotiationWebSite
ControllerDiscoveryConventionsWebSite
ControllersFromServicesClassLibrary
ControllersFromServicesWebSite
CorsMiddlewareWebSite
CorsWebSite
CustomRouteWebSite
ErrorPageMiddlewareWebSite
FilesWebSite
FiltersWebSite
FormatFilterWebSite
FormatterWebSite
InlineConstraintsWebSite
LoggingWebSite
LowercaseUrlsWebSite
Microsoft.AspNet.Mvc.TestConfiguration
ModelBindingWebSite
MvcTagHelpersWebSite
PrecompilationWebSite
RazorCompilerCacheWebSite
RazorEmbeddedViewsWebSite
RazorPageExecutionInstrumentationWebSite
RazorWebSite
RequestServicesWebSite
ResponseCacheWebSite
RoutingWebSite
TagHelpersWebSite
TempDataWebSite
UrlHelperWebSite
UserClassLibrary
ValidationWebSite
ValueProvidersWebSite
VersioningWebSite
ViewComponentWebSite
WebApiCompatShimWebSite
XmlFormattersWebSite