C# 클래스 FluentMetadata.MVC.FluentMetadataProvider

A custom metadata provider for FluentMetadata.
상속: System.Web.Mvc.ModelMetadataProvider
파일 보기 프로젝트 열기: forger/FluentMetadata

공개 메소드들

메소드 설명
GetMetadataForProperties ( object container, Type containerType ) : IEnumerable

Gets a T:System.Web.Mvc.ModelMetadata object for each property of a model.

GetMetadataForProperty ( Func modelAccessor, Type containerType, string propertyName ) : ModelMetadata

Gets metadata for the specified property.

GetMetadataForType ( Func modelAccessor, Type modelType ) : ModelMetadata

Gets metadata for the specified model accessor and model type.

비공개 메소드들

메소드 설명
GetProperyAccessor ( object container, Metadata metadata ) : Func

메소드 상세

GetMetadataForProperties() 공개 메소드

Gets a T:System.Web.Mvc.ModelMetadata object for each property of a model.
public GetMetadataForProperties ( object container, Type containerType ) : IEnumerable
container object The container.
containerType System.Type The type of the container.
리턴 IEnumerable

GetMetadataForProperty() 공개 메소드

Gets metadata for the specified property.
public GetMetadataForProperty ( Func modelAccessor, Type containerType, string propertyName ) : ModelMetadata
modelAccessor Func The model accessor.
containerType System.Type The type of the container.
propertyName string The property to get the metadata model for.
리턴 ModelMetadata

GetMetadataForType() 공개 메소드

Gets metadata for the specified model accessor and model type.
public GetMetadataForType ( Func modelAccessor, Type modelType ) : ModelMetadata
modelAccessor Func The model accessor.
modelType System.Type The type of the model.
리턴 ModelMetadata