C# 클래스 Endjin.Core.Composition.Samples.Mvc5.Net45.Areas.HelpPage.ModelDescriptions.ModelDescriptionGenerator

Generates model descriptions for given types.
파일 보기 프로젝트 열기: endjin/Endjin.Composition 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateDefaultDocumentation string
GenerateAnnotations void
GenerateCollectionModelDescription CollectionModelDescription
GenerateComplexTypeModelDescription ModelDescription
GenerateDictionaryModelDescription DictionaryModelDescription
GenerateEnumTypeModelDescription EnumTypeModelDescription
GenerateKeyValuePairModelDescription KeyValuePairModelDescription
GenerateSimpleTypeModelDescription ModelDescription
GetMemberName string
ShouldDisplayMember bool

공개 메소드들

메소드 설명
GetOrCreateModelDescription ( Type modelType ) : ModelDescription
ModelDescriptionGenerator ( System.Web.Http.HttpConfiguration config ) : System

비공개 메소드들

메소드 설명
CreateDefaultDocumentation ( Type type ) : string
GenerateAnnotations ( MemberInfo property, ParameterDescription propertyModel ) : void
GenerateCollectionModelDescription ( Type modelType, Type elementType ) : CollectionModelDescription
GenerateComplexTypeModelDescription ( Type modelType ) : ModelDescription
GenerateDictionaryModelDescription ( Type modelType, Type keyType, Type valueType ) : DictionaryModelDescription
GenerateEnumTypeModelDescription ( Type modelType ) : EnumTypeModelDescription
GenerateKeyValuePairModelDescription ( Type modelType, Type keyType, Type valueType ) : KeyValuePairModelDescription
GenerateSimpleTypeModelDescription ( Type modelType ) : ModelDescription
GetMemberName ( MemberInfo member, bool hasDataContractAttribute ) : string
ShouldDisplayMember ( MemberInfo member, bool hasDataContractAttribute ) : bool

메소드 상세

GetOrCreateModelDescription() 공개 메소드

public GetOrCreateModelDescription ( Type modelType ) : ModelDescription
modelType System.Type
리턴 ModelDescription

ModelDescriptionGenerator() 공개 메소드

public ModelDescriptionGenerator ( System.Web.Http.HttpConfiguration config ) : System
config System.Web.Http.HttpConfiguration
리턴 System