Merge pull request #1336 from esdrubal/datatablereadxmlschema
[mono.git] / mcs / class / System.Web.Mvc3 / Mvc / CustomModelBinderAttribute.cs
1 namespace System.Web.Mvc {
2     using System;
3     using System.Diagnostics.CodeAnalysis;
4
5     [AttributeUsage(ValidTargets, AllowMultiple = false, Inherited = false)]
6     public abstract class CustomModelBinderAttribute : Attribute {
7
8         internal const AttributeTargets ValidTargets = AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Struct;
9
10         [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "This method can potentially perform a non-trivial amount of work.")]
11         public abstract IModelBinder GetBinder();
12
13     }
14 }