e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
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;
|
|
}
|
|
|
|
}
|
|
}
|