ReflectionUtilities.

GetAttributedMethods<TAttribute>(BindingFlags, List<TAttribute>, List<MethodInfo>) Method

Summary

Gets all methods with the specified attribute in every type in the currently loaded assemblies.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

Syntax

public static void GetAttributedMethods<TAttribute>(BindingFlags bindingFlags, List<TAttribute> attributes, List<MethodInfo> methods) 
    where TAttribute : Attribute

Type Parameters

Name Description
TAttribute

Parameters

Name Type Description
bindingFlags BindingFlags
attributes List<TAttribute>
methods List<MethodInfo>

Return Value

Type Description
void