TRttiObjectHelper.HasCustomAttribute<T>(Boolean) Method

Determines whether the type applies the specified custom attribute class.

Namespace: Spring.Reflection
public
 function HasCustomAttribute<T: TCustomAttribute>(
 inherit: Boolean = False): Boolean; overload;

Type Parameters

T

Parameters

inherit
Type: Boolean

Return Value

Type: Boolean