C# 클래스 CIAPI.CodeGenerator.SchemaParser

파일 보기 프로젝트 열기: cityindex-attic/CIAPI.CodeGeneration

공개 프로퍼티들

프로퍼티 타입 설명
Schema Newtonsoft.Json.Linq.JObject

공개 메소드들

메소드 설명
AppendLine ( Stream output, string line ) : void
BeginCodeFile ( Stream output ) : void

EmitEnumeration ( Stream output, Newtonsoft.Json.Linq.JObject typeObj ) : void

EmitType ( Stream output, Newtonsoft.Json.Linq.JObject typeObject, bool flattenHierarchy ) : void

EmitTypes ( Stream output, bool flattenHierarchy ) : void
EndCodeFile ( Stream output ) : void

GetBaseType ( Newtonsoft.Json.Linq.JObject typeObj ) : Newtonsoft.Json.Linq.JObject

GetTypes ( ) : JObject>.Dictionary

RecurseHierarchyAndAppendProperties ( Newtonsoft.Json.Linq.JObject typeObject ) : void
ResolvePrimitiveTypeName ( string typename, Newtonsoft.Json.Linq.JObject property ) : string

SchemaParser ( string schemaJson ) : System

메소드 상세

AppendLine() 공개 메소드

public AppendLine ( Stream output, string line ) : void
output Stream
line string
리턴 void

BeginCodeFile() 공개 추상적인 메소드

public abstract BeginCodeFile ( Stream output ) : void
output Stream
리턴 void

EmitEnumeration() 공개 추상적인 메소드

public abstract EmitEnumeration ( Stream output, Newtonsoft.Json.Linq.JObject typeObj ) : void
output Stream
typeObj Newtonsoft.Json.Linq.JObject
리턴 void

EmitType() 공개 추상적인 메소드

public abstract EmitType ( Stream output, Newtonsoft.Json.Linq.JObject typeObject, bool flattenHierarchy ) : void
output Stream
typeObject Newtonsoft.Json.Linq.JObject
flattenHierarchy bool
리턴 void

EmitTypes() 공개 메소드

public EmitTypes ( Stream output, bool flattenHierarchy ) : void
output Stream
flattenHierarchy bool
리턴 void

EndCodeFile() 공개 추상적인 메소드

public abstract EndCodeFile ( Stream output ) : void
output Stream
리턴 void

GetBaseType() 공개 메소드

public GetBaseType ( Newtonsoft.Json.Linq.JObject typeObj ) : Newtonsoft.Json.Linq.JObject
typeObj Newtonsoft.Json.Linq.JObject
리턴 Newtonsoft.Json.Linq.JObject

GetTypes() 공개 메소드

public GetTypes ( ) : JObject>.Dictionary
리턴 JObject>.Dictionary

RecurseHierarchyAndAppendProperties() 공개 메소드

public RecurseHierarchyAndAppendProperties ( Newtonsoft.Json.Linq.JObject typeObject ) : void
typeObject Newtonsoft.Json.Linq.JObject
리턴 void

ResolvePrimitiveTypeName() 공개 추상적인 메소드

public abstract ResolvePrimitiveTypeName ( string typename, Newtonsoft.Json.Linq.JObject property ) : string
typename string
property Newtonsoft.Json.Linq.JObject
리턴 string

SchemaParser() 공개 메소드

public SchemaParser ( string schemaJson ) : System
schemaJson string
리턴 System

프로퍼티 상세

Schema 공개적으로 프로퍼티

public JObject,Newtonsoft.Json.Linq Schema
리턴 Newtonsoft.Json.Linq.JObject