C# 클래스 TerrificNet.Generator.JsonSchemaCodeGenerator

상속: IJsonSchemaCodeGenerator
파일 보기 프로젝트 열기: namics/TerrificNet 1 사용 예제들

공개 메소드들

메소드 설명
Compile ( Newtonsoft.Json.Schema.JSchema schema ) : Type
CompileTo ( IEnumerable schemas, Stream stream, string rootNamespace = null ) : void
Generate ( Newtonsoft.Json.Schema.JSchema schema ) : string
JsonSchemaCodeGenerator ( ) : System
JsonSchemaCodeGenerator ( INamingRule namingRule ) : System
WriteTo ( IEnumerable schemas, Stream stream, string rootNamespace = null ) : void

비공개 메소드들

메소드 설명
CompileToInternal ( IEnumerable schemas, Stream stream, string rootNamespace = null ) : EmitResult
GetRootNamespace ( IEnumerable schemas, string rootNamespace ) : SyntaxList
GetSyntax ( Newtonsoft.Json.Schema.JSchema schema ) : CompilationUnitSyntax
GetSyntaxTree ( IEnumerable schemas, string rootNamespace = null ) : SyntaxTree

메소드 상세

Compile() 공개 메소드

public Compile ( Newtonsoft.Json.Schema.JSchema schema ) : Type
schema Newtonsoft.Json.Schema.JSchema
리턴 System.Type

CompileTo() 공개 메소드

public CompileTo ( IEnumerable schemas, Stream stream, string rootNamespace = null ) : void
schemas IEnumerable
stream Stream
rootNamespace string
리턴 void

Generate() 공개 메소드

public Generate ( Newtonsoft.Json.Schema.JSchema schema ) : string
schema Newtonsoft.Json.Schema.JSchema
리턴 string

JsonSchemaCodeGenerator() 공개 메소드

public JsonSchemaCodeGenerator ( ) : System
리턴 System

JsonSchemaCodeGenerator() 공개 메소드

public JsonSchemaCodeGenerator ( INamingRule namingRule ) : System
namingRule INamingRule
리턴 System

WriteTo() 공개 메소드

public WriteTo ( IEnumerable schemas, Stream stream, string rootNamespace = null ) : void
schemas IEnumerable
stream Stream
rootNamespace string
리턴 void