C# Class Swagger.Net.Helpers.TypeParser

A parser to Swagger data types as defined at https://github.com/wordnik/swagger-core/wiki/Datatypes.
Afficher le fichier Open project: giacomelli/DG-Swagger.Net

Méthodes publiques

Méthode Description
Parse ( Type type ) : string

Parses the specified type to the Swagger data type.

Parse ( string type ) : string

Parses the specified type to the Swagger data type.

Private Methods

Méthode Description
TypeParser ( ) : System

Initializes the TypeParser class.

Method Details

Parse() public static méthode

Parses the specified type to the Swagger data type.
public static Parse ( Type type ) : string
type System.Type The type.
Résultat string

Parse() public static méthode

Parses the specified type to the Swagger data type.
public static Parse ( string type ) : string
type string The type.
Résultat string