C# 클래스 CIAPI.CodeGenerator.JsSchemaParser

상속: SchemaParser
파일 보기 프로젝트 열기: cityindex-attic/CIAPI.CodeGeneration 1 사용 예제들

공개 메소드들

메소드 설명
BeginCodeFile ( Stream output ) : void
EmitEnumeration ( Stream output, Newtonsoft.Json.Linq.JObject typeObj ) : void
EmitType ( Stream output, Newtonsoft.Json.Linq.JObject typeObject, bool flattenHierarchy ) : void
EndCodeFile ( Stream output ) : void
JsSchemaParser ( string schemaJson ) : System
ResolvePrimitiveTypeName ( string typename, Newtonsoft.Json.Linq.JObject property ) : string

메소드 상세

BeginCodeFile() 공개 메소드

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

EmitEnumeration() 공개 메소드

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

EmitType() 공개 메소드

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

EndCodeFile() 공개 메소드

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

JsSchemaParser() 공개 메소드

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

ResolvePrimitiveTypeName() 공개 메소드

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