IGUtils.

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

Summary

Get all methods with the specified attribute in `type`.
Assembly
Kybernetik.InspectorGadgets.dll
Namespace
InspectorGadgets
Containing Type
IGUtils

Syntax

public static void GetAttributedMethods<TAttribute>(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