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