C# Класс NSwag.CodeGeneration.CodeGenerators.TypeScript.TemplatePartGenerator

Generates the code to process the response.
Показать файл Открыть проект

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

Метод Описание
RenderClientMethodsCode ( ClientTemplateModel model, int tabCount ) : string

Renders the client class helper methods.

RenderProcessResponseCode ( OperationModel operation, int tabCount ) : string

Renders the respone process code.

RenderRequestBodyCode ( OperationModel operation, int tabCount ) : string

Renders the request body generation code.

RenderRequestUrlCode ( OperationModel operation, int tabCount ) : string

Renders the URL generation code.

Описание методов

RenderClientMethodsCode() публичный статический Метод

Renders the client class helper methods.
public static RenderClientMethodsCode ( ClientTemplateModel model, int tabCount ) : string
model NSwag.CodeGeneration.CodeGenerators.TypeScript.Models.ClientTemplateModel The model.
tabCount int The tab count.
Результат string

RenderProcessResponseCode() публичный статический Метод

Renders the respone process code.
public static RenderProcessResponseCode ( OperationModel operation, int tabCount ) : string
operation NSwag.CodeGeneration.CodeGenerators.Models.OperationModel The operation.
tabCount int The tab count.
Результат string

RenderRequestBodyCode() публичный статический Метод

Renders the request body generation code.
public static RenderRequestBodyCode ( OperationModel operation, int tabCount ) : string
operation NSwag.CodeGeneration.CodeGenerators.Models.OperationModel The operation.
tabCount int The tab count.
Результат string

RenderRequestUrlCode() публичный статический Метод

Renders the URL generation code.
public static RenderRequestUrlCode ( OperationModel operation, int tabCount ) : string
operation NSwag.CodeGeneration.CodeGenerators.Models.OperationModel The operation.
tabCount int The tab count.
Результат string