TRttiTypeHelper Class Helper

Represents type TRttiTypeHelper.

Namespace: Spring.Reflection
type
 TRttiTypeHelper = class helper for TRttiType
 end;
 NameDescription
AncestorCount

Represents property AncestorCount.

AsClass

Represents property AsClass.

AsDynamicArray

Represents property AsDynamicArray.

AsInterface

Represents property AsInterface.

BaseTypes

Represents property BaseTypes.

Constructors

Gets an enumerable collection which contains all constructor methods of the type, including inherited.

DefaultName

Represents property DefaultName.

Fields

Gets a enumerable collection which contains all fields that the type contains, including inherited.

IsClass

Represents property IsClass.

IsClassOrInterface

Represents property IsClassOrInterface.

IsDynamicArray

Represents property IsDynamicArray.

IsGenericType

Gets a value indicates whether the current type is generic.

IsInterface

Represents property IsInterface.

IsString

Represents property IsString.

Methods

Gets a enumerable collection which contains all methods that the type contains, including inherited.

Properties

Gets a enumerable collection which contains all properties that the type contains, including inherited.

Top
 NameDescription
GetAncestorCount

Represents method GetAncestorCount.

GetAsClass

Represents method GetAsClass.

GetAsDynamicArray

Represents method GetAsDynamicArray.

GetAsInterface

Represents method GetAsInterface.

GetBaseTypes

Represents method GetBaseTypes.

GetConstructors

Returns all constructors

GetConstructorsEnumerable

Represents method GetConstructorsEnumerable.

GetDefaultName

Represents method GetDefaultName.

GetFieldsEnumerable

Represents method GetFieldsEnumerable.

GetGenericArguments

Gets an array of types which contains all generic arguments.

GetGenericTypeDefinition

Returns a string that represents a generic type definition.

GetInterfaces

Returns an enumerable collection which contains all the interface Rtti types that the target type implements.

Note

Only Guid interfaces will be enumerated.

GetIsClass

Represents method GetIsClass.

GetIsClassOrInterface

Represents method GetIsClassOrInterface.

GetIsDynamicArray

Represents method GetIsDynamicArray.

GetIsGenericType

Represents method GetIsGenericType.

GetIsInterface

Represents method GetIsInterface.

GetIsString

Represents method GetIsString.

GetMember(string)

Represents method GetMember(string).

GetMethodsEnumerable

Represents method GetMethodsEnumerable.

GetPropertiesEnumerable

Represents method GetPropertiesEnumerable.

HasField(string)

Represents method HasField(string).

HasMethod(string)

Represents method HasMethod(string).

HasProperty(string)

Represents method HasProperty(string).

IsAssignableFrom(TRttiType)

Determines whether an instance of the current TRttiType can be assigned from an instance of the specified TRttiType.

IsGenericTypeOf(PTypeInfo)

Overloaded. Represents method IsGenericTypeOf(PTypeInfo).

IsGenericTypeOf(string)

Overloaded. Determines whether the current type is of the specified generic type.

IsGenericTypeOf<T>

Overloaded. Represents method IsGenericTypeOf<T>.

IsType(PTypeInfo)

Overloaded. Represents method IsType(PTypeInfo).

IsType<T>

Overloaded. Represents method IsType<T>.

TryGetField(string,TRttiField)

Represents method TryGetField(string,TRttiField).

TryGetMember(string,TRttiMember)

Represents method TryGetMember(string,TRttiMember).

TryGetMethod(string,TRttiMethod)

Represents method TryGetMethod(string,TRttiMethod).

TryGetProperty(string,TRttiProperty)

Represents method TryGetProperty(string,TRttiProperty).

Top