C# Class RAML.WebApiExplorer.RamlSerializerHelper

Mostra file Open project: mulesoft-labs/raml-dotnet-apiexplorer Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

SerializeCommonParameterProperties() public static method

public static SerializeCommonParameterProperties ( StringBuilder sb, Raml.Parser.Expressions.Parameter parameter, int indentation ) : void
sb StringBuilder
parameter Raml.Parser.Expressions.Parameter
indentation int
return void

SerializeDescriptionProperty() public static method

public static SerializeDescriptionProperty ( StringBuilder sb, string description, int indentation ) : void
sb StringBuilder
description string
indentation int
return void

SerializeListProperty() public static method

public static SerializeListProperty ( StringBuilder sb, string title, IEnumerable enumerable, int indent ) : void
sb StringBuilder
title string
enumerable IEnumerable
indent int
return void

SerializeMultilineProperty() public static method

public static SerializeMultilineProperty ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue string
indentation int
return void

SerializeParameterProperties() public static method

public static SerializeParameterProperties ( StringBuilder sb, Raml.Parser.Expressions.Parameter parameter, int indentation ) : void
sb StringBuilder
parameter Raml.Parser.Expressions.Parameter
indentation int
return void

SerializeProperty() public static method

public static SerializeProperty ( StringBuilder sb, string propertyTitle, bool propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue bool
indentation int
return void

SerializeProperty() public static method

public static SerializeProperty ( StringBuilder sb, string propertyTitle, int propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue int
indentation int
return void

SerializeProperty() public static method

public static SerializeProperty ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue string
indentation int
return void

SerializeSchema() public static method

public static SerializeSchema ( StringBuilder sb, string propertyTitle, string propertyValue, int indentation ) : void
sb StringBuilder
propertyTitle string
propertyValue string
indentation int
return void