C# Класс RAML.WebApiExplorer.Raml1TypeBuilder

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

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

Метод Описание
Add ( Type type ) : string
Raml1TypeBuilder ( Raml.Parser.Expressions.RamlTypesOrderedDictionary raml1Types ) : System

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

Метод Описание
AddType ( Type type, Raml.Parser.Expressions.RamlType raml1Type ) : void
ConvertToNullableDecimal ( object value ) : decimal?
GetArray ( Type elementType ) : Raml.Parser.Expressions.RamlType
GetArrayOfArray ( Type subElementType ) : Raml.Parser.Expressions.RamlType
GetClassProperties ( Type type ) : IEnumerable
GetElementType ( Type type ) : Type
GetEnum ( Type type ) : Raml.Parser.Expressions.RamlType
GetMap ( Type type ) : Raml.Parser.Expressions.RamlType
GetObject ( Type type ) : Raml.Parser.Expressions.RamlType
GetProperties ( Type type ) : RamlType>.IDictionary
GetProperty ( PropertyInfo prop ) : Raml.Parser.Expressions.RamlType
GetScalar ( Type type ) : Raml.Parser.Expressions.RamlType
GetTypeName ( Type type ) : string
GetUniqueName ( string schemaName ) : string
HandleNestedTypeProperty ( PropertyInfo prop ) : Raml.Parser.Expressions.RamlType
HandlePrimitiveTypeProperty ( PropertyInfo prop ) : Raml.Parser.Expressions.RamlType
HandleValidationAttribute ( Raml.Parser.Expressions.RamlType ramlTypeProp, CustomAttributeData attribute ) : void
HandleValidationAttributes ( Raml.Parser.Expressions.RamlType ramlTypeProp, IEnumerable customAttributes ) : void
HasPropertiesOrParentType ( Type type ) : bool
IsDictionary ( Type type ) : bool
IsOptionalProperty ( PropertyInfo prop, IEnumerable customAttributes ) : bool
IsParentADictionary ( Type type ) : bool

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

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

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

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

public Raml1TypeBuilder ( Raml.Parser.Expressions.RamlTypesOrderedDictionary raml1Types ) : System
raml1Types Raml.Parser.Expressions.RamlTypesOrderedDictionary
Результат System