C# Class ServiceStack.Host.MetadataTypeExtensions

Exibir arquivo Open project: ServiceStack/ServiceStack

Public Properties

Property Type Description
CollectionTypes HashSet

Public Methods

Method Description
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

Private Methods

Method Description
GetRequestParamType ( Operation op, string name, string defaultType = "body" ) : string

Method Details

ExcludesFeature() public static method

public static ExcludesFeature ( this type, Feature feature ) : bool
type this
feature Feature
return bool

GetParamType() public static method

public static GetParamType ( this prop, MetadataType type, Operation op ) : string
prop this
type MetadataType
op Operation
return string

GetParamType() public static method

public static GetParamType ( this attr, Type type, string verb ) : string
attr this
type System.Type
verb string
return string

Has() public static method

public static Has ( this feature, Feature flag ) : bool
feature this
flag Feature
return bool

IsAbstract() public static method

public static IsAbstract ( this type ) : bool
type this
return bool

IsArray() public static method

public static IsArray ( this prop ) : bool
prop this
return bool

IsCollection() public static method

public static IsCollection ( this prop ) : bool
prop this
return bool

IsInterface() public static method

public static IsInterface ( this type ) : bool
type this
return bool

Property Details

CollectionTypes public_oe static_oe property

public static HashSet CollectionTypes
return HashSet