23 lines
537 B
C#
23 lines
537 B
C#
namespace System.Web.ModelBinding {
|
|
using System;
|
|
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = true)]
|
|
public sealed class ExtensibleModelBinderAttribute : Attribute {
|
|
|
|
public ExtensibleModelBinderAttribute(Type binderType) {
|
|
BinderType = binderType;
|
|
}
|
|
|
|
public Type BinderType {
|
|
get;
|
|
private set;
|
|
}
|
|
|
|
public bool SuppressPrefixCheck {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
}
|
|
}
|