1 write to BinderType
System.Web (1)
ModelBinding\ExtensibleModelBinderAttribute.cs (1)
8
BinderType
= binderType;
7 references to BinderType
System.Web (7)
ModelBinding\ModelBinderProviderCollection.cs (7)
117
if (typeof(ModelBinderProvider).IsAssignableFrom(attr.
BinderType
)) {
118
provider = (ModelBinderProvider)SecurityUtils.SecureCreateInstance(attr.
BinderType
);
120
else if (typeof(IModelBinder).IsAssignableFrom(attr.
BinderType
)) {
121
Type closedBinderType = (attr.
BinderType
.IsGenericTypeDefinition) ? attr.
BinderType
.MakeGenericType(modelType.GetGenericArguments()) : attr.
BinderType
;
127
attr.
BinderType
, typeof(ModelBinderProvider), typeof(IModelBinder));