C# 클래스 RAML.WebApiExplorer.SchemaBuilder

파일 보기 프로젝트 열기: mulesoft-labs/raml-dotnet-apiexplorer

보호된 프로퍼티들

프로퍼티 타입 설명
Types ICollection

공개 메소드들

메소드 설명
Get ( Type type ) : string

보호된 메소드들

메소드 설명
GetNestedArraySchema ( int pad, Type elementType ) : string
GetNestedArraySchemaPrimitiveType ( int pad, Type elementType ) : string
GetNestedObjectSchema ( Type type, int pad, IEnumerable customAttributes ) : string
GetProperty ( int pad, PropertyInfo prop, string schema, IEnumerable props, IEnumerable customAttributes ) : string
GetRecursively ( Type type, int pad, IEnumerable customAttributes ) : string
HandleEnumProperty ( int pad, PropertyInfo prop, IEnumerable props, string schema ) : string
HandleNestedTypeProperty ( int pad, PropertyInfo prop, string schema, IEnumerable props, IEnumerable customAttributes ) : string
HandlePrimitiveTypeProperty ( int pad, PropertyInfo prop, IEnumerable props, string schema, IEnumerable customAttributes ) : string
HandleValidationAttribute ( CustomAttributeData attribute ) : string

비공개 메소드들

메소드 설명
AddDefinitionsIfAny ( string schema ) : string
AddTrailingComma ( string schema ) : string
BuildLastProperty ( PropertyInfo prop, IEnumerable customAttributes, int pad ) : string
BuildProperty ( PropertyInfo prop, IEnumerable customAttributes, int pad ) : string
BuildPropertyCommon ( PropertyInfo prop, IEnumerable customAttributes ) : string
GetArray ( Type elementType ) : string
GetDefinitions ( ) : string
GetEnumProperty ( PropertyInfo prop, int pad ) : string
GetMainObjectSchema ( Type type ) : string
GetOneOfProperty ( PropertyInfo prop, IEnumerable subclasses, int pad ) : string
GetProperties ( Type elementType, int pad ) : string
HandleRequiredAttribute ( IEnumerable customAttributes ) : string
HandleRequiredAttribute ( PropertyInfo prop, IEnumerable customAttributes ) : string
HandleValidationAttributes ( IEnumerable customAttributes ) : string
RemoveTrailingComma ( string schema ) : string

메소드 상세

Get() 공개 메소드

public Get ( Type type ) : string
type System.Type
리턴 string

GetNestedArraySchema() 보호된 메소드

protected GetNestedArraySchema ( int pad, Type elementType ) : string
pad int
elementType System.Type
리턴 string

GetNestedArraySchemaPrimitiveType() 보호된 메소드

protected GetNestedArraySchemaPrimitiveType ( int pad, Type elementType ) : string
pad int
elementType System.Type
리턴 string

GetNestedObjectSchema() 보호된 메소드

protected GetNestedObjectSchema ( Type type, int pad, IEnumerable customAttributes ) : string
type System.Type
pad int
customAttributes IEnumerable
리턴 string

GetProperty() 보호된 메소드

protected GetProperty ( int pad, PropertyInfo prop, string schema, IEnumerable props, IEnumerable customAttributes ) : string
pad int
prop System.Reflection.PropertyInfo
schema string
props IEnumerable
customAttributes IEnumerable
리턴 string

GetRecursively() 보호된 메소드

protected GetRecursively ( Type type, int pad, IEnumerable customAttributes ) : string
type System.Type
pad int
customAttributes IEnumerable
리턴 string

HandleEnumProperty() 보호된 메소드

protected HandleEnumProperty ( int pad, PropertyInfo prop, IEnumerable props, string schema ) : string
pad int
prop System.Reflection.PropertyInfo
props IEnumerable
schema string
리턴 string

HandleNestedTypeProperty() 보호된 메소드

protected HandleNestedTypeProperty ( int pad, PropertyInfo prop, string schema, IEnumerable props, IEnumerable customAttributes ) : string
pad int
prop System.Reflection.PropertyInfo
schema string
props IEnumerable
customAttributes IEnumerable
리턴 string

HandlePrimitiveTypeProperty() 보호된 메소드

protected HandlePrimitiveTypeProperty ( int pad, PropertyInfo prop, IEnumerable props, string schema, IEnumerable customAttributes ) : string
pad int
prop System.Reflection.PropertyInfo
props IEnumerable
schema string
customAttributes IEnumerable
리턴 string

HandleValidationAttribute() 보호된 메소드

protected HandleValidationAttribute ( CustomAttributeData attribute ) : string
attribute System.Reflection.CustomAttributeData
리턴 string

프로퍼티 상세

Types 보호되어 있는 프로퍼티

protected ICollection Types
리턴 ICollection