C# Класс RAML.WebApiExplorer.RamlSerializerHelper

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

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

Метод Описание
SerializeCommonParameterProperties ( StringBuilder sb, Raml.Parser.Expressions.Parameter parameter, int indentation ) : void
SerializeDescriptionProperty ( StringBuilder sb, string description, int indentation ) : void
SerializeListProperty ( StringBuilder sb, string title, IEnumerable enumerable, int indent ) : void
SerializeMultilineProperty ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void
SerializeParameterProperties ( StringBuilder sb, Raml.Parser.Expressions.Parameter parameter, int indentation ) : void
SerializeProperty ( StringBuilder sb, string propertyTitle, bool propertyValue, int indentation ) : void
SerializeProperty ( StringBuilder sb, string propertyTitle, int propertyValue, int indentation ) : void
SerializeProperty ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void
SerializeSchema ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void

Приватные методы

Метод Описание
SerializeEnumProperty ( StringBuilder sb, IEnumerable enumerableProperty, int indentation ) : void
SerializeParameterProperty ( StringBuilder sb, string propertyTitle, bool propertyValue, int indentation ) : void
SerializeParameterProperty ( StringBuilder sb, string propertyTitle, decimal propertyValue, int indentation ) : void
SerializeParameterProperty ( StringBuilder sb, string propertyTitle, int propertyValue, int indentation ) : void
SerializeParameterProperty ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void

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

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

public static SerializeCommonParameterProperties ( StringBuilder sb, Raml.Parser.Expressions.Parameter parameter, int indentation ) : void
sb StringBuilder
parameter Raml.Parser.Expressions.Parameter
indentation int
Результат void

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

public static SerializeDescriptionProperty ( StringBuilder sb, string description, int indentation ) : void
sb StringBuilder
description string
indentation int
Результат void

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

public static SerializeListProperty ( StringBuilder sb, string title, IEnumerable enumerable, int indent ) : void
sb StringBuilder
title string
enumerable IEnumerable
indent int
Результат void

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

public static SerializeMultilineProperty ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue string
indentation int
Результат void

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

public static SerializeParameterProperties ( StringBuilder sb, Raml.Parser.Expressions.Parameter parameter, int indentation ) : void
sb StringBuilder
parameter Raml.Parser.Expressions.Parameter
indentation int
Результат void

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

public static SerializeProperty ( StringBuilder sb, string propertyTitle, bool propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue bool
indentation int
Результат void

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

public static SerializeProperty ( StringBuilder sb, string propertyTitle, int propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue int
indentation int
Результат void

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

public static SerializeProperty ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue string
indentation int
Результат void

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

public static SerializeSchema ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue string
indentation int
Результат void