C# Class Swagger.Net.Factories.ModelFactory

Afficher le fichier Open project: danieleli/Swagger.Net Class Usage Examples

Méthodes publiques

Méthode Description
CreateModel ( Type type ) : object
GetDataType ( Type inputType ) : Type
GetModels ( IEnumerable apiDescs ) : object>.Dictionary
ModelFactory ( ) : System
ModelFactory ( System.Web.Http.XmlCommentDocumentationProvider documentationProvider ) : System

Private Methods

Méthode Description
GetAllTypes ( IEnumerable apiDescs ) : IEnumerable
GetProperty ( PropertyInfo prop ) : object
GetUniqueTypes ( IEnumerable apiDescs ) : IEnumerable

Method Details

CreateModel() public méthode

public CreateModel ( Type type ) : object
type System.Type
Résultat object

GetDataType() public static méthode

public static GetDataType ( Type inputType ) : Type
inputType System.Type
Résultat System.Type

GetModels() public méthode

public GetModels ( IEnumerable apiDescs ) : object>.Dictionary
apiDescs IEnumerable
Résultat object>.Dictionary

ModelFactory() public méthode

public ModelFactory ( ) : System
Résultat System

ModelFactory() public méthode

public ModelFactory ( System.Web.Http.XmlCommentDocumentationProvider documentationProvider ) : System
documentationProvider System.Web.Http.XmlCommentDocumentationProvider
Résultat System