C# 클래스 CIAPI.CodeGenerator.CSharpSchemaParser

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

공개 메소드들

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

메소드 상세

BeginCodeFile() 공개 메소드

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

CSharpSchemaParser() 공개 메소드

public CSharpSchemaParser ( string schemaJson, string imports, string nspace ) : System
schemaJson string
imports string
nspace string
리턴 System

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

ResolvePrimitiveTypeName() 공개 메소드

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