Skip to content

GetMethodsWithExtensions Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.ReflectionTools.dll

MethodInfo[] GetMethodsWithExtensions(Type t) ​

csharp
MethodInfo[] GetMethodsWithExtensions(Type t)

This Method extends the System.Type-type to get all extended methods. It searches hereby in all assemblies which are known by the current AppDomain.

Returns ​

returns MethodInfo[] with the extended Method

Remarks ​

Insired by Jon Skeet from his answer on http://stackoverflow.com/questions/299515/c-sharp-reflection-to-identify-extension-methods