Méthode | Description | |
---|---|---|
BindProperty ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
GetModelProperties ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : |
||
OnModelUpdated ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : void | ||
OnPropertyValidating ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
Méthode | Description | |
---|---|---|
CanUpdateReadonlyTypedReference ( |
||
ConvertValue ( |
Converts a data value. Looks for the DisplayFormatAttribute to determine if empty strings should be converted to nulls (true by default).
|
|
GetDisplayName ( ICustomTypeDescriptor descriptor ) : string |
Gets the display name for a class. Looks for the DisplayNameAttribute attribute, and falls back to the class's name by default.
|
|
GetDisplayName ( |
Gets the display name for a property. Looks for the DisplayAttribute attribute, then the DisplayNameAttribute attribute, and finally falls back to the property's name by default.
|
|
GetTypeDescriptor ( object model, |
Gets the model's type descriptor. In order to support the buddy class metadata model for LINQ to SQL and Entity Framework, it uses AssociatedMetadataTypeTypeDescriptionProvider.
|
|
GetValidationAttributes ( |
||
ModelIsValid ( System.Web.Mvc.ModelBindingContext bindingContext ) : bool | ||
ShouldUpdateProperty ( |
||
TypeAllowsNullValue ( |
protected BindProperty ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
propertyDescriptor | ||
Résultat | void |
protected GetModelProperties ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
Résultat |
protected OnModelUpdated ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : void | ||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
Résultat | void |
protected OnPropertyValidating ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
propertyDescriptor | ||
value | object | |
Résultat | bool |