dougbu
cd0285183e
Fix StyleCop issues
2014-07-25 10:51:40 -07:00
Pranav K
da0bf6f7d8
Commonizing code in option provider
...
* Adding ValueProviderFactoryProvider and CompositeValueProviderFactory to
maintain parity in pattern with other option types.
Fixes #818
2014-07-25 06:52:00 -07:00
Chris Ross
1d3e6b0dd0
Fix breaks from GetFormAsync, IReadableStringCollection.Keys.
2014-06-26 10:56:56 -07:00
Ryan Nowak
7f34c94de7
Adding a context class for ValueProviderFactories
...
This allows model binding to once again be independent of routing. Sending
RouteContext into model binding was an odd choice from a layering
point-of-view.
2014-06-11 18:03:09 -07:00
Pranav K
cc0dadc6b6
More Stylecop cleanup for ModelBinding and Razor
2014-06-09 14:27:12 -07:00
Ryan Nowak
69034b78b8
Issue #65 merge RoutingContext and RequestContext
...
See the relevant PR in aspnet/Routing#60 .
This incorporates the breaking changes.
2014-06-06 10:49:55 -07:00
Pranav K
97e06138ed
Cleaning up StyleCop errors
2014-06-04 13:28:30 -07:00
Pranav K
d8ba998dec
Change IValueProviderFactory.GetValueProvider to be synchronous.
2014-05-27 14:08:13 -07:00
Andrew Peters
f13865dedc
Updating copyright headers
2014-05-08 23:01:20 -07:00
Ryan Nowak
abbaa11212
Incorporate name changes: HttpAbstractions
2014-05-05 17:14:08 -07:00
anpete
8208cd6b2f
Update file headers
2014-05-01 17:42:33 -07:00
Pranav K
d61915149c
DictionaryBasedValueProvider results null when value is not found
...
* Guard against Dictionary returning null values
2014-04-24 18:10:06 -07:00
Pranav K
b0c7dc9220
Make IModelBinder and IValueProvider methods async
2014-04-24 15:16:27 -07:00
Pranav K
cc00d8cff7
Modify TypeConverterModelBinder to use ValueProviderResult.CanConvertFromString to determine if it can convert a
...
value
* Adding support for extra type conversions
2014-04-22 23:00:58 -07:00
Pranav K
c8ede78582
Expanding ValueProviderResult to support more data types
...
* Reviving tests for ValueProviderResult
2014-04-09 09:33:29 -07:00
Pranav K
44af396da9
Prefer string.Equals static method over the Equals instance method
2014-03-26 22:24:38 -07:00
Pranav K
a2cea18529
Replacing argument not null checks in ModelBinding with NotNullAttribute
...
* Removing not null guard tests in ModelBinding
2014-03-25 12:35:33 -07:00
Pranav K
f1c4a8e497
Change FormValueProviderFactory to use GetContentType for media type matching
...
Fixes #68
2014-03-21 12:10:12 -07:00
Pranav K
683c5bf9b3
Adding JsonInputFormatter for reading json encoded data from the request
...
body
2014-03-20 20:48:25 -07:00
Pranav K
e87f8c372c
Consume ModelBinding from Mvc
...
* Modify ReflectedActionInvoker to model bind parameters
* Introduce IBodyReader for reading request bodies
* Introduce types for per-action-context specific binders, value providers
and body readers
2014-03-05 10:13:52 -08:00
Pranav K
48738b91f4
Updating resx designer file to use updated format
2014-03-03 12:05:00 -08:00
Pranav K
d920003194
Introduce FormValueProviderFactory to expose form data as a value provider
2014-02-28 11:05:39 -08:00
Pranav K
b6c78de4ea
Reintroduce model binding
2014-02-23 15:23:58 -08:00