GetCustomAttributesOfType(Type)
This is currently not exposed in Metalama but it is implemented internally.
Declaration
public static CustomAttributeInstance[] GetCustomAttributesOfType(Type customAttributeType)Parameters
| Type | Name | Description |
|---|---|---|
| Type | customAttributeType |
Returns
| Type | Description |
|---|---|
| CustomAttributeInstance[] |
GetCustomAttributesOfType(Type, ReflectionSearchOptions)
This is currently not exposed in Metalama but it is implemented internally.
Declaration
public static CustomAttributeInstance[] GetCustomAttributesOfType(Type customAttributeType, ReflectionSearchOptions options)Parameters
| Type | Name | Description |
|---|---|---|
| Type | customAttributeType | |
| ReflectionSearchOptions | options |
Returns
| Type | Description |
|---|---|
| CustomAttributeInstance[] |