DarthFubuMVC/fubucore — pull request #31 by bobpace (2012-03-21 21:51:35+00:00)
Title: Exposed RequestData inside BindingContext to get at prefix

Since the request data contains the prefix that has been applied thus far in the binding process, it is needed by property binders in order to implement new behavior correctly.

For example, we have a new DateTimePropertyBinder that splits a DateTime into three parts:

PropertyName + "Day"
PropertyName + "Month"
PropertyName + "Year"

We were using the BindingContext.Service to obtain the request data to look for these new values, however in a collection binding scenario we require the binding contexts prefixed request data instead of the one we would resolve from the container this way in order to make it look like Collection[0]PropertyName