Table of Contents

Class DelegateDecoratorExtensions

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Extension methods for the Delegate hidden behind the IDecorator<T> interface.

public static class DelegateDecoratorExtensions
Inheritance
DelegateDecoratorExtensions

Methods

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.

See Also