Table of Contents

GetAllMethods Method

Definition

Namespace
Cuemon.Extensions.Reflection
Assemblies
Cuemon.Extensions.Reflection.dll
Source
src/Cuemon.Extensions.Reflection/TypeExtensions.cs

GetAllMethods(Type, Action<MemberReflectionOptions>)

Retrieves a collection that represents all methods defined on the specified source and its inheritance chain.

public static IEnumerable<MethodInfo> GetAllMethods(this Type source, Action<MemberReflectionOptions> setup = null)

Parameters

source Type

The Type to extend.

setup Action<MemberReflectionOptions>

The MemberReflectionOptions which may be configured.

Returns

IEnumerable<MethodInfo>

An IEnumerable<T> that contains all MethodInfo objects of the specified source and its inheritance chain.