ReflectionUtilities.

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

Summary

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

Syntax

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

Type Parameters

Name Description
TAttribute

Parameters

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

Return Value

Type Description
void