ITypeInfo Methods

Name Description
AddAttribute(Attribute)

Dynamically associates an attribute to the current type at run time.

(Inherited from IBaseInfo)
AddExtender<T>(T)

Extends the current IBaseInfo object with additional metadata.

(Inherited from IBaseInfo)
CreateInstance(Object[])

Creates an instance of the current type using the constructor that best matches the specified parameters.

CreateMember(String, Type)

Dynamically adds a new member to the current type at run time.

FindAttribute<AttributeType>()

Indicates whether an attribute specified by the generic type parameter is associated with the type represented by the current IBaseInfo object.

(Inherited from IBaseInfo)
FindAttribute<AttributeType>(Boolean)

Indicates whether an attribute specified by the generic type parameter is associated with the type represented by the current IBaseInfo object.

(Inherited from IBaseInfo)
FindAttributes<AttributeType>()

Returns the attributes of the type specified by the generic type parameter, associated with the type represented by the current IBaseInfo object.

(Inherited from IBaseInfo)
FindAttributes<AttributeType>(Boolean)

Returns the attributes of the type specified by the generic type parameter, associated with the type represented by the current IBaseInfo object.

(Inherited from IBaseInfo)
FindMember(String)

Supplies metadata on the current type's member with a specific name.

GetDependentTypes(Predicate<ITypeInfo>)

Supplies metadata on the types considered dependent on the current type.

GetExtender<T>()

Provides access to additional metadata.

(Inherited from IBaseInfo)
GetRequiredTypes(Predicate<ITypeInfo>)

Supplies metadata on the types considered required by the current type.

Implements<InterfaceType>()

Indicates whether the type implements a specific interface.

IsAssignableFrom(ITypeInfo)

Indicates whether the type can be assigned from a specific type.