C# Класс ServiceStack.Host.MetadataTypeExtensions

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CollectionTypes HashSet

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

Метод Описание
ExcludesFeature ( this type, Feature feature ) : bool
GetParamType ( this prop, MetadataType type, Operation op ) : string
GetParamType ( this attr, Type type, string verb ) : string
Has ( this feature, Feature flag ) : bool
IsAbstract ( this type ) : bool
IsArray ( this prop ) : bool
IsCollection ( this prop ) : bool
IsInterface ( this type ) : bool

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

Метод Описание
GetRequestParamType ( Operation op, string name, string defaultType = "body" ) : string

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

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

public static ExcludesFeature ( this type, Feature feature ) : bool
type this
feature Feature
Результат bool

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

public static GetParamType ( this prop, MetadataType type, Operation op ) : string
prop this
type MetadataType
op Operation
Результат string

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

public static GetParamType ( this attr, Type type, string verb ) : string
attr this
type System.Type
verb string
Результат string

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

public static Has ( this feature, Feature flag ) : bool
feature this
flag Feature
Результат bool

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

public static IsAbstract ( this type ) : bool
type this
Результат bool

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

public static IsArray ( this prop ) : bool
prop this
Результат bool

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

public static IsCollection ( this prop ) : bool
prop this
Результат bool

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

public static IsInterface ( this type ) : bool
type this
Результат bool

Описание свойств

CollectionTypes публичное статическое свойство

public static HashSet CollectionTypes
Результат HashSet