Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / Method­Collection­Extensions / Of­Kind

Method OfKind

OfKind(IMethodCollection, MethodKind)

Gets the list of methods of a given MethodKind (such as Operator or Default.

Declaration
public static IEnumerable<IMethod> OfKind(this IMethodCollection methods, MethodKind kind)
Parameters
Type Name Description
IMethodCollection methods
MethodKind kind
Returns
Type Description
IEnumerable<IMethod>