Class DelegateExtensions
Contains extensions for objects of type Delegate.
Inherited Members
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.dll
Syntax
public static class DelegateExtensions
Methods
| Edit this page View SourceNameOf(Delegate)
Gets a descriptive name for a Delegate.
Declaration
public static string NameOf(this Delegate d)
Parameters
Type | Name | Description |
---|---|---|
Delegate | d | Delegate for which to get a descriptive name. |
Returns
Type | Description |
---|---|
string | A descriptive name for a Delegate, or the name of the method represented by the delegate if this does not contain a NameAttribute. |