C# 클래스 BoC.Web.Mvc.MetaData.ExtraModelMetadataProvider

상속: System.Web.Mvc.DataAnnotationsModelMetadataProvider
파일 보기 프로젝트 열기: csteeg/BoC 1 사용 예제들

공개 메소드들

메소드 설명
ExtraModelMetadataProvider ( ) : System
GetMetadataForProperties ( object container, Type containerType ) : IEnumerable
GetMetadataForProperty ( Func modelAccessor, Type containerType, string propertyName ) : ModelMetadata
GetMetadataForType ( Func modelAccessor, Type modelType ) : ModelMetadata

보호된 메소드들

메소드 설명
CreateMetadata ( IEnumerable attributes, Type containerType, Func modelAccessor, Type modelType, string propertyName ) : ModelMetadata

비공개 메소드들

메소드 설명
ApplyConventionsToValidationAttributes ( IEnumerable attributes, Type containerType, string propertyName, Type defaultResourceType ) : void
GetDisplayAttributeName ( Type containerType, string propertyName, System.ComponentModel.DataAnnotations.DisplayAttribute displayAttribute ) : string
GetResourceKey ( Type containerType, string propertyName ) : string
Modify ( ModelMetadata metadata ) : ModelMetadata

메소드 상세

CreateMetadata() 보호된 메소드

protected CreateMetadata ( IEnumerable attributes, Type containerType, Func modelAccessor, Type modelType, string propertyName ) : ModelMetadata
attributes IEnumerable
containerType System.Type
modelAccessor Func
modelType System.Type
propertyName string
리턴 ModelMetadata

ExtraModelMetadataProvider() 공개 메소드

public ExtraModelMetadataProvider ( ) : System
리턴 System

GetMetadataForProperties() 공개 메소드

public GetMetadataForProperties ( object container, Type containerType ) : IEnumerable
container object
containerType System.Type
리턴 IEnumerable

GetMetadataForProperty() 공개 메소드

public GetMetadataForProperty ( Func modelAccessor, Type containerType, string propertyName ) : ModelMetadata
modelAccessor Func
containerType System.Type
propertyName string
리턴 ModelMetadata

GetMetadataForType() 공개 메소드

public GetMetadataForType ( Func modelAccessor, Type modelType ) : ModelMetadata
modelAccessor Func
modelType System.Type
리턴 ModelMetadata