Summary
[Animancer Extension]
Returns the first TAttribute attribute on the `member`
or
null
if there is none.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerReflection
Syntax
public static TAttribute GetAttribute<TAttribute>(this ICustomAttributeProvider member, bool inherit = false)
where TAttribute : class
Type Parameters
Name | Description |
---|---|
TAttribute |
Parameters
Name | Type | Description |
---|---|---|
member | I |
|
inherit | bool |
Return Value
Type | Description |
---|---|
TAttribute |