C# Class ServiceStack.NativeTypes.MetadataExtensions

Afficher le fichier Open project: ServiceStack/ServiceStack

Méthodes publiques

Méthode Description
GetAllTypes ( this metadata ) : List
GetDefaultNamespaces ( this config, MetadataTypes metadata ) : HashSet
GetDepTypes ( Dictionary deps, MetadataType>.Dictionary typesMap, HashSet considered, MetadataType type ) : IEnumerable
GetIncludeList ( MetadataTypes metadata, MetadataTypesConfig config ) : List
GetReferencedTypeNames ( this type ) : HashSet
GetTypeName ( this prop, MetadataTypesConfig config, List allTypes ) : string
GetValues ( this map, string key ) : List
IgnoreSystemType ( this type ) : bool
IgnoreType ( this type, MetadataTypesConfig config, List overrideIncludeType = null ) : bool
OrderTypesByDeps ( this types ) : List
ParseTypeIntoNodes ( this typeDef ) : TextNode
Push ( this map, string key, string value ) : void
QuotedSafeValue ( this value ) : string
RemoveIgnoredTypes ( this metadata, MetadataTypesConfig config ) : void
RemoveIgnoredTypesForNet ( this metadata, MetadataTypesConfig config ) : void
SafeComment ( this comment ) : string
SafeToken ( this token ) : string
SafeValue ( this value ) : string
SanitizeType ( this typeName ) : string
SplitGenericArgs ( string argList ) : List
ToMetadataAttribute ( this route ) : MetadataAttribute
ToMetadataTypeName ( this type ) : MetadataTypeName
ToPrettyName ( this type ) : string

Method Details

GetAllTypes() public static méthode

public static GetAllTypes ( this metadata ) : List
metadata this
Résultat List

GetDefaultNamespaces() public static méthode

public static GetDefaultNamespaces ( this config, MetadataTypes metadata ) : HashSet
config this
metadata MetadataTypes
Résultat HashSet

GetDepTypes() public static méthode

public static GetDepTypes ( Dictionary deps, MetadataType>.Dictionary typesMap, HashSet considered, MetadataType type ) : IEnumerable
deps Dictionary
typesMap MetadataType>.Dictionary
considered HashSet
type MetadataType
Résultat IEnumerable

GetIncludeList() public static méthode

public static GetIncludeList ( MetadataTypes metadata, MetadataTypesConfig config ) : List
metadata MetadataTypes
config MetadataTypesConfig
Résultat List

GetReferencedTypeNames() public static méthode

public static GetReferencedTypeNames ( this type ) : HashSet
type this
Résultat HashSet

GetTypeName() public static méthode

public static GetTypeName ( this prop, MetadataTypesConfig config, List allTypes ) : string
prop this
config MetadataTypesConfig
allTypes List
Résultat string

GetValues() public static méthode

public static GetValues ( this map, string key ) : List
map this
key string
Résultat List

IgnoreSystemType() public static méthode

public static IgnoreSystemType ( this type ) : bool
type this
Résultat bool

IgnoreType() public static méthode

public static IgnoreType ( this type, MetadataTypesConfig config, List overrideIncludeType = null ) : bool
type this
config MetadataTypesConfig
overrideIncludeType List
Résultat bool

OrderTypesByDeps() public static méthode

public static OrderTypesByDeps ( this types ) : List
types this
Résultat List

ParseTypeIntoNodes() public static méthode

public static ParseTypeIntoNodes ( this typeDef ) : TextNode
typeDef this
Résultat TextNode

Push() public static méthode

public static Push ( this map, string key, string value ) : void
map this
key string
value string
Résultat void

QuotedSafeValue() public static méthode

public static QuotedSafeValue ( this value ) : string
value this
Résultat string

RemoveIgnoredTypes() public static méthode

public static RemoveIgnoredTypes ( this metadata, MetadataTypesConfig config ) : void
metadata this
config MetadataTypesConfig
Résultat void

RemoveIgnoredTypesForNet() public static méthode

public static RemoveIgnoredTypesForNet ( this metadata, MetadataTypesConfig config ) : void
metadata this
config MetadataTypesConfig
Résultat void

SafeComment() public static méthode

public static SafeComment ( this comment ) : string
comment this
Résultat string

SafeToken() public static méthode

public static SafeToken ( this token ) : string
token this
Résultat string

SafeValue() public static méthode

public static SafeValue ( this value ) : string
value this
Résultat string

SanitizeType() public static méthode

public static SanitizeType ( this typeName ) : string
typeName this
Résultat string

SplitGenericArgs() public static méthode

public static SplitGenericArgs ( string argList ) : List
argList string
Résultat List

ToMetadataAttribute() public static méthode

public static ToMetadataAttribute ( this route ) : MetadataAttribute
route this
Résultat MetadataAttribute

ToMetadataTypeName() public static méthode

public static ToMetadataTypeName ( this type ) : MetadataTypeName
type this
Résultat MetadataTypeName

ToPrettyName() public static méthode

public static ToPrettyName ( this type ) : string
type this
Résultat string