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
decoratorIDecorator<Delegate>The IDecorator<T> to extend.
originalDelegateThe original delegate to resolve the method information from.
Returns
- MethodInfo
The MethodInfo of the specified
originaldelegate or the enclosed Delegate of thedecorator; otherwise,nullif both arenull.
See Also
IDecorator<T>
Decorator<T>