TRttiObjectHelper Helper
Definition
Delphi
type TRttiObjectHelper = class helper(TClassHelperBase) for TRttiObject
- Inheritance
-
TClassHelperBaseTRttiObjectHelper
Methods
| GetCustomAttribute(TAttributeClass, Boolean) | |
| GetCustomAttribute<T>(Boolean) |
Enumerates all applied custom attributes and returns the first one which is/inherits the specified type. |
| GetCustomAttributes(TAttributeClass, Boolean) | |
| GetCustomAttributes<T>(Boolean) |
Gets an array which contains all custom attribute types which the type applies. |
| HasCustomAttribute(TAttributeClass, Boolean) | |
| HasCustomAttribute<T>(Boolean) |
Determines whether the type applies the specified custom attribute class. |
| TryGetCustomAttribute(TAttributeClass, TCustomAttribute, Boolean) | |
| TryGetCustomAttribute<T>(T, Boolean) |
Try getting a custom attribute class which is applied by the type. |