ReflectionUtils.GetCustomAttributes method
Version 1.1.28
                .NET Framework 4.8
            | Namespace | Skybrud.Essentials.Reflection | 
|---|---|
| Assembly | Skybrud.Essentials.dll | 
GetCustomAttributes<T>(Enum)
Static
                    Returns an array of attributes of type T.
public static T[] GetCustomAttributes<T>(Enum value)
Type Parameters
T
                                The type of the attributes to return.
Parameters
value
                                Enum 
                            The enum value to get attributes for.
Returns
                            Array of 
                            T
                        An array of T.
GetCustomAttributes<T>(MemberInfo)
Static
                    Returns an array of attributes of type T.
public static T[] GetCustomAttributes<T>(MemberInfo member)
Type Parameters
T
                                The type of the attributes to return.
Parameters
member
                                MemberInfo 
                            The member holding the attributes.
Returns
                            Array of 
                            T
                        An array of T.
GetCustomAttributes<T>(Type)
Static
                    Returns an array of attributes of type T.
public static T[] GetCustomAttributes<T>(Type type)
Type Parameters
T
                                The type of the attributes to return.
Parameters
type
                                Type 
                            The type holding the attributes.
Returns
                            Array of 
                            T
                        An array of T.
