C# Class Source.Reflection.ClassDescriptor

显示文件 Open project: mrange/T4Include

Public Properties

Property Type Description
Attributes object[]
Creator Func
DictionaryKeyType System.Type
DictionaryValueType System.Type
HasCreator bool
IsDictionaryLike bool
IsListLike bool
IsNullable bool
ListItemType System.Type
Members Source.Reflection.MemberDescriptor[]
Name string
NonNullableType System.Type
PublicGetMembers Source.Reflection.MemberDescriptor[]
Type System.Type

Public Methods

Method Description
ClassDescriptor ( Type type ) : System
FindMember ( string name, bool requirePublicGet = true, bool requirePublicSet = true ) : MemberDescriptor
GetClassDescriptor ( Type type ) : ClassDescriptor

Private Methods

Method Description
AsGenericType ( Type type, Type asType ) : Type
GetCreator ( Type type ) : Func
HasIndexParameters ( MemberInfo mi ) : bool

Method Details

ClassDescriptor() public method

public ClassDescriptor ( Type type ) : System
type System.Type
return System

FindMember() public method

public FindMember ( string name, bool requirePublicGet = true, bool requirePublicSet = true ) : MemberDescriptor
name string
requirePublicGet bool
requirePublicSet bool
return MemberDescriptor

GetClassDescriptor() public static method

public static GetClassDescriptor ( Type type ) : ClassDescriptor
type System.Type
return ClassDescriptor

Property Details

Attributes public_oe property

public object[] Attributes
return object[]

Creator public_oe property

public Func Creator
return Func

DictionaryKeyType public_oe property

public Type,System DictionaryKeyType
return System.Type

DictionaryValueType public_oe property

public Type,System DictionaryValueType
return System.Type

HasCreator public_oe property

public bool HasCreator
return bool

IsDictionaryLike public_oe property

public bool IsDictionaryLike
return bool

IsListLike public_oe property

public bool IsListLike
return bool

IsNullable public_oe property

public bool IsNullable
return bool

ListItemType public_oe property

public Type,System ListItemType
return System.Type

Members public_oe property

public MemberDescriptor[],Source.Reflection Members
return Source.Reflection.MemberDescriptor[]

Name public_oe property

public string Name
return string

NonNullableType public_oe property

public Type,System NonNullableType
return System.Type

PublicGetMembers public_oe property

public MemberDescriptor[],Source.Reflection PublicGetMembers
return Source.Reflection.MemberDescriptor[]

Type public_oe property

public Type,System Type
return System.Type