C# Класс Swagger.Net.Factories.ModelFactory

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

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

Метод Описание
CreateModel ( Type type ) : object
GetDataType ( Type inputType ) : Type
GetModels ( IEnumerable apiDescs ) : object>.Dictionary
ModelFactory ( ) : System
ModelFactory ( System.Web.Http.XmlCommentDocumentationProvider documentationProvider ) : System

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

Метод Описание
GetAllTypes ( IEnumerable apiDescs ) : IEnumerable
GetProperty ( PropertyInfo prop ) : object
GetUniqueTypes ( IEnumerable apiDescs ) : IEnumerable

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

CreateModel() публичный Метод

public CreateModel ( Type type ) : object
type System.Type
Результат object

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

public static GetDataType ( Type inputType ) : Type
inputType System.Type
Результат System.Type

GetModels() публичный Метод

public GetModels ( IEnumerable apiDescs ) : object>.Dictionary
apiDescs IEnumerable
Результат object>.Dictionary

ModelFactory() публичный Метод

public ModelFactory ( ) : System
Результат System

ModelFactory() публичный Метод

public ModelFactory ( System.Web.Http.XmlCommentDocumentationProvider documentationProvider ) : System
documentationProvider System.Web.Http.XmlCommentDocumentationProvider
Результат System