aspnet/Mvc — pull request #1633 by harshgMSFT (2014-11-25 04:41:01+00:00)
Title: Adding support for ModelMetadataAttribute in core.

The new ModelBinderAttribute behaves in all respects like webapi except one.

- There is no ```SuppressPrefixCheck``` property on the attribute in the current implementation. The rationale for this is as follows :
```SuppressPrefixCheck``` is Only applicable for the following case ( no binderType specified on parameter but a binder type of ModelBinder on the type.
```c#
// Notice no type is provided on the parameter's ModelBinder attribute.
void Action([ModelBinder] Person p);

// SuppressPrefixCheck only works if the binder type specified is of type IModelBinder
// (and not IModelBinderProvider).
[ModelBinder(typeof(TestModelBinder), SuppresPrefixCheck=true)]
public class Person
{
}
```
What this results is before calling the ```TestModelBinder``` it will skip the check if there is a value provider which can provide a value.
IMHO this is a entirely unnecessary. @yishaigalatzer please share your thoughts.