1 namespace System.Web.Mvc {
3 using System.Diagnostics.CodeAnalysis;
5 [AttributeUsage(ValidTargets, AllowMultiple = false, Inherited = false)]
6 public abstract class CustomModelBinderAttribute : Attribute {
8 internal const AttributeTargets ValidTargets = AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Struct;
10 [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "This method can potentially perform a non-trivial amount of work.")]
11 public abstract IModelBinder GetBinder();