C# Class System.Reflection.TypeInfo

Type info for a type.
Mostra file Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
AsType ( ) : Type
GetDeclaredEvent ( string name ) : EventInfo
GetDeclaredField ( string name ) : FieldInfo
GetDeclaredMethod ( string name ) : MethodInfo
GetDeclaredMethods ( string name ) : IEnumerable
GetDeclaredNestedType ( string name ) : TypeInfo
GetDeclaredProperty ( string name ) : PropertyInfo
IsAssignableFrom ( TypeInfo typeInfo ) : bool

Private Methods

Method Description
IReflectableType ( ) : TypeInfo
TypeInfo ( ) : System.Collections.Generic

Method Details

AsType() public method

public AsType ( ) : Type
return Type

GetDeclaredEvent() public method

public GetDeclaredEvent ( string name ) : EventInfo
name string
return EventInfo

GetDeclaredField() public method

public GetDeclaredField ( string name ) : FieldInfo
name string
return FieldInfo

GetDeclaredMethod() public method

public GetDeclaredMethod ( string name ) : MethodInfo
name string
return MethodInfo

GetDeclaredMethods() public method

public GetDeclaredMethods ( string name ) : IEnumerable
name string
return IEnumerable

GetDeclaredNestedType() public method

public GetDeclaredNestedType ( string name ) : TypeInfo
name string
return TypeInfo

GetDeclaredProperty() public method

public GetDeclaredProperty ( string name ) : PropertyInfo
name string
return PropertyInfo

IsAssignableFrom() public method

public IsAssignableFrom ( TypeInfo typeInfo ) : bool
typeInfo TypeInfo
return bool