Class CustomModelBinderAttribute
Represents an attribute that invokes a custom model binder.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Interface|AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
public abstract class CustomModelBinderAttribute : Attribute
- Inheritance
-
CustomModelBinderAttribute
- Derived
- Inherited Members
Constructors
CustomModelBinderAttribute()
Initializes a new instance of the CustomModelBinderAttribute class.
protected CustomModelBinderAttribute()
Methods
GetBinder()
Retrieves the associated model binder.
public abstract IModelBinder GetBinder()
Returns
- IModelBinder
A reference to an object that implements the IModelBinder interface.