HandlerDescriptor.FromDelegate(Delegate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a descriptor based on the specified method.
public:
static System::CommandLine::NamingConventionBinder::HandlerDescriptor ^ FromDelegate(Delegate ^ delegate);
public static System.CommandLine.NamingConventionBinder.HandlerDescriptor FromDelegate(Delegate delegate);
static member FromDelegate : Delegate -> System.CommandLine.NamingConventionBinder.HandlerDescriptor
Public Shared Function FromDelegate (delegate As Delegate) As HandlerDescriptor
Parameters
- delegate
- Delegate
The delegate for which to create a handler descriptor.
Returns
A handler descriptor for the delegate.