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

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

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

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