ReflectionUtilities.

GetAttributedFields<TAttribute>(Type, BindingFlags, List<TAttribute>, List<FieldInfo>) Method

Summary

Gets all fields with the specified attribute in `type`.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

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<TAttribute>
fields List<FieldInfo>

Return Value

Type Description
void