ModelBinderAttribute Класс

Определение

Представляет атрибут, используемый для сопоставления типа модели с типом построителя модели.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Parameter | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)]
public sealed class ModelBinderAttribute : System.Web.Mvc.CustomModelBinderAttribute
type ModelBinderAttribute = class
    inherit CustomModelBinderAttribute
Public NotInheritable Class ModelBinderAttribute
Inherits CustomModelBinderAttribute
Наследование
ModelBinderAttribute
Атрибуты

Конструкторы

ModelBinderAttribute(Type)

Инициализирует новый экземпляр класса ModelBinderAttribute.

Свойства

BinderType

Получает или задает тип связывателя.

Методы

GetBinder()

Извлекает экземпляр связывателя модели.

Применяется к