Table of Contents

ResolveDelegateInfo Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Extensions/DelegateDecoratorExtensions.cs

ResolveDelegateInfo(IDecorator<Delegate>, Delegate)

Resolves the MethodInfo of the specified original delegate or the enclosed Delegate of the decorator.

public static MethodInfo ResolveDelegateInfo(this IDecorator<Delegate> decorator, Delegate original)

Parameters

decorator IDecorator<Delegate>

The IDecorator<T> to extend.

original Delegate

The original delegate to resolve the method information from.

Returns

MethodInfo

The MethodInfo of the specified original delegate or the enclosed Delegate of the decorator; otherwise, null if both are null.