C# Класс CIAPI.CodeGenerator.CSharpSchemaParser

Наследование: SchemaParser
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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