C# 클래스 Swagger.Net.Factories.ModelFactory

파일 보기 프로젝트 열기: danieleli/Swagger.Net 1 사용 예제들

공개 메소드들

메소드 설명
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