Summary
Get all fields with the specified attribute in `type`.
- Assembly
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
- Containing Type
- IGUtils
Syntax
public static void GetAttributedFields<TAttribute>(Type type, BindingFlags bindingFlags, List<TAttribute> attributes, List<FieldInfo> fields)
where TAttribute : Attribute
Type Parameters
Name | Description |
---|---|
TAttribute |
Parameters
Name | Type | Description |
---|---|---|
type | Type | |
bindingFlags | BindingFlags | |
attributes | List |
|
fields | List |
Return Value
Type | Description |
---|---|
void |