Méthode | Description | |
---|---|---|
ExtendedModelMetadataProvider ( [ registry ) : System |
Initializes a new instance of the ExtendedModelMetadataProvider class.
|
|
GetMetadataForProperties ( [ container, [ containerType ) : IEnumerable |
Gets a T:System.Web.Mvc.ModelMetadata object for each property of a model.
|
|
GetMetadataForProperty ( Func |
Gets metadata for the specified property.
|
Méthode | Description | |
---|---|---|
Copy ( MvcExtensions.ModelMetadataItem metadataItem, ModelMetadata metadata ) : void | ||
CreatePropertyMetadata ( |
public ExtendedModelMetadataProvider ( [ registry ) : System | ||
registry | [ | The registry. |
Résultat | System |
public GetMetadataForProperties ( [ container, [ containerType ) : IEnumerable |
||
container | [ | The container. |
containerType | [ | The type of the container. |
Résultat | IEnumerable |
public GetMetadataForProperty ( Func | ||
modelAccessor | Func | The model accessor. |
containerType | [ | The type of the container. |
propertyName | [ | The property to get the metadata model for. |
Résultat | ModelMetadata |