Open sandboxFocus

Method GetConstructedAttributesOfType

GetConstructedAttributesOfType<T>()

Gets the constructed attributes of a given type.

Declaration
IEnumerable<T> GetConstructedAttributesOfType<T>() where T : Attribute
Returns
Type Description
IEnumerable<T>

An enumeration of constructed attribute instances of type T.

Type Parameters
Name Description
T

The attribute type to filter by and construct.

Remarks

This method filters attributes by type T and constructs them into runtime attribute instances.