C# 클래스 ServiceStack.NativeTypes.MetadataExtensions

파일 보기 프로젝트 열기: ServiceStack/ServiceStack

공개 메소드들

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

메소드 상세

GetAllTypes() 공개 정적인 메소드

public static GetAllTypes ( this metadata ) : List
metadata this
리턴 List

GetDefaultNamespaces() 공개 정적인 메소드

public static GetDefaultNamespaces ( this config, MetadataTypes metadata ) : HashSet
config this
metadata MetadataTypes
리턴 HashSet

GetDepTypes() 공개 정적인 메소드

public static GetDepTypes ( Dictionary deps, MetadataType>.Dictionary typesMap, HashSet considered, MetadataType type ) : IEnumerable
deps Dictionary
typesMap MetadataType>.Dictionary
considered HashSet
type MetadataType
리턴 IEnumerable

GetIncludeList() 공개 정적인 메소드

public static GetIncludeList ( MetadataTypes metadata, MetadataTypesConfig config ) : List
metadata MetadataTypes
config MetadataTypesConfig
리턴 List

GetReferencedTypeNames() 공개 정적인 메소드

public static GetReferencedTypeNames ( this type ) : HashSet
type this
리턴 HashSet

GetTypeName() 공개 정적인 메소드

public static GetTypeName ( this prop, MetadataTypesConfig config, List allTypes ) : string
prop this
config MetadataTypesConfig
allTypes List
리턴 string

GetValues() 공개 정적인 메소드

public static GetValues ( this map, string key ) : List
map this
key string
리턴 List

IgnoreSystemType() 공개 정적인 메소드

public static IgnoreSystemType ( this type ) : bool
type this
리턴 bool

IgnoreType() 공개 정적인 메소드

public static IgnoreType ( this type, MetadataTypesConfig config, List overrideIncludeType = null ) : bool
type this
config MetadataTypesConfig
overrideIncludeType List
리턴 bool

OrderTypesByDeps() 공개 정적인 메소드

public static OrderTypesByDeps ( this types ) : List
types this
리턴 List

ParseTypeIntoNodes() 공개 정적인 메소드

public static ParseTypeIntoNodes ( this typeDef ) : TextNode
typeDef this
리턴 TextNode

Push() 공개 정적인 메소드

public static Push ( this map, string key, string value ) : void
map this
key string
value string
리턴 void

QuotedSafeValue() 공개 정적인 메소드

public static QuotedSafeValue ( this value ) : string
value this
리턴 string

RemoveIgnoredTypes() 공개 정적인 메소드

public static RemoveIgnoredTypes ( this metadata, MetadataTypesConfig config ) : void
metadata this
config MetadataTypesConfig
리턴 void

RemoveIgnoredTypesForNet() 공개 정적인 메소드

public static RemoveIgnoredTypesForNet ( this metadata, MetadataTypesConfig config ) : void
metadata this
config MetadataTypesConfig
리턴 void

SafeComment() 공개 정적인 메소드

public static SafeComment ( this comment ) : string
comment this
리턴 string

SafeToken() 공개 정적인 메소드

public static SafeToken ( this token ) : string
token this
리턴 string

SafeValue() 공개 정적인 메소드

public static SafeValue ( this value ) : string
value this
리턴 string

SanitizeType() 공개 정적인 메소드

public static SanitizeType ( this typeName ) : string
typeName this
리턴 string

SplitGenericArgs() 공개 정적인 메소드

public static SplitGenericArgs ( string argList ) : List
argList string
리턴 List

ToMetadataAttribute() 공개 정적인 메소드

public static ToMetadataAttribute ( this route ) : MetadataAttribute
route this
리턴 MetadataAttribute

ToMetadataTypeName() 공개 정적인 메소드

public static ToMetadataTypeName ( this type ) : MetadataTypeName
type this
리턴 MetadataTypeName

ToPrettyName() 공개 정적인 메소드

public static ToPrettyName ( this type ) : string
type this
리턴 string