Method | Description | |
---|---|---|
GetMetadataForProperties ( object container, |
Gets a T:System.Web.Mvc.ModelMetadata object for each property of a model.
|
|
GetMetadataForProperty ( Func |
Gets metadata for the specified property.
|
|
GetMetadataForType ( Func |
Gets metadata for the specified model accessor and model type.
|
Method | Description | |
---|---|---|
GetProperyAccessor ( object container, Metadata metadata ) : Func |
public GetMetadataForProperties ( object container, |
||
container | object | The container. |
containerType | The type of the container. | |
return | IEnumerable |
public GetMetadataForProperty ( Func | ||
modelAccessor | Func | The model accessor. |
containerType | The type of the container. | |
propertyName | string | The property to get the metadata model for. |
return | ModelMetadata |
public GetMetadataForType ( Func | ||
modelAccessor | Func | The model accessor. |
modelType | The type of the model. | |
return | ModelMetadata |