Summary
Gets a single custom attribute of type T and casts it.
- Assembly
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
- Containing Type
- IGUtils
Syntax
public static T GetCustomAttribute<T>(this ICustomAttributeProvider target, bool inherit = false)
where T : Attribute
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
target | I |
|
inherit | bool |
Return Value
Type | Description |
---|---|
T |