23 lines
537 B
C#
Raw Normal View History

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;
}
}
}