C# 클래스 ServiceStack.NativeTypes.MetadataTypesGenerator

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

공개 메소드들

메소드 설명
GetInstancePublicProperties ( Type type ) : System.Reflection.PropertyInfo[]
GetMetadataTypes ( IRequest req, bool>.Func predicate = null ) : MetadataTypes
GetNamespacesUsed ( Type type ) : HashSet
IncludeAttrsFilter ( Attribute x ) : bool
MetadataTypesGenerator ( ServiceMetadata meta, MetadataTypesConfig config ) : System
NonDefaultProperties ( Attribute attr ) : List
ToAttribute ( Attribute attr ) : MetadataAttribute
ToAttributes ( IEnumerable attrs ) : List
ToAttributes ( Type type ) : List
ToAttributes ( object attrs ) : List
ToDataMember ( DataMemberAttribute attr ) : MetadataDataMember
ToProperties ( Type type ) : List
ToProperty ( ParameterInfo pi ) : MetadataPropertyType
ToProperty ( PropertyInfo pi, object instance = null ) : MetadataPropertyType
ToType ( Type type ) : MetadataType
ToTypeName ( Type type ) : MetadataTypeName

비공개 메소드들

메소드 설명
GetGenericArgs ( Type type ) : string[]
IsSystemCollection ( Type type ) : bool
ToInterfaces ( Type type ) : MetadataTypeName[]

메소드 상세

GetInstancePublicProperties() 공개 정적인 메소드

public static GetInstancePublicProperties ( Type type ) : System.Reflection.PropertyInfo[]
type System.Type
리턴 System.Reflection.PropertyInfo[]

GetMetadataTypes() 공개 메소드

public GetMetadataTypes ( IRequest req, bool>.Func predicate = null ) : MetadataTypes
req IRequest
predicate bool>.Func
리턴 MetadataTypes

GetNamespacesUsed() 공개 메소드

public GetNamespacesUsed ( Type type ) : HashSet
type System.Type
리턴 HashSet

IncludeAttrsFilter() 공개 메소드

public IncludeAttrsFilter ( Attribute x ) : bool
x System.Attribute
리턴 bool

MetadataTypesGenerator() 공개 메소드

public MetadataTypesGenerator ( ServiceMetadata meta, MetadataTypesConfig config ) : System
meta ServiceStack.Host.ServiceMetadata
config MetadataTypesConfig
리턴 System

NonDefaultProperties() 공개 메소드

public NonDefaultProperties ( Attribute attr ) : List
attr System.Attribute
리턴 List

ToAttribute() 공개 메소드

public ToAttribute ( Attribute attr ) : MetadataAttribute
attr System.Attribute
리턴 MetadataAttribute

ToAttributes() 공개 메소드

public ToAttributes ( IEnumerable attrs ) : List
attrs IEnumerable
리턴 List

ToAttributes() 공개 메소드

public ToAttributes ( Type type ) : List
type System.Type
리턴 List

ToAttributes() 공개 메소드

public ToAttributes ( object attrs ) : List
attrs object
리턴 List

ToDataMember() 공개 정적인 메소드

public static ToDataMember ( DataMemberAttribute attr ) : MetadataDataMember
attr System.Runtime.Serialization.DataMemberAttribute
리턴 MetadataDataMember

ToProperties() 공개 메소드

public ToProperties ( Type type ) : List
type System.Type
리턴 List

ToProperty() 공개 메소드

public ToProperty ( ParameterInfo pi ) : MetadataPropertyType
pi System.Reflection.ParameterInfo
리턴 MetadataPropertyType

ToProperty() 공개 메소드

public ToProperty ( PropertyInfo pi, object instance = null ) : MetadataPropertyType
pi System.Reflection.PropertyInfo
instance object
리턴 MetadataPropertyType

ToType() 공개 메소드

public ToType ( Type type ) : MetadataType
type System.Type
리턴 MetadataType

ToTypeName() 공개 메소드

public ToTypeName ( Type type ) : MetadataTypeName
type System.Type
리턴 MetadataTypeName