diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinderAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinderAttribute.cs
index 461cf0e5ef..c80e2d0fe5 100644
--- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinderAttribute.cs
+++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinderAttribute.cs
@@ -28,6 +28,26 @@ namespace Microsoft.AspNetCore.Mvc
{
private BindingSource _bindingSource;
+ ///
+ /// Initializes a new instance of .
+ ///
+ public ModelBinderAttribute()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of .
+ ///
+ /// A which implements .
+ public ModelBinderAttribute(Type binderType)
+ {
+ if (binderType == null)
+ {
+ throw new ArgumentNullException(nameof(binderType));
+ }
+ BinderType = binderType;
+ }
+
///
public Type BinderType { get; set; }