HandlerDescriptor Class
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.
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public ref class HandlerDescriptor abstract : System::CommandLine::NamingConventionBinder::IMethodDescriptor
public abstract class HandlerDescriptor : System.CommandLine.NamingConventionBinder.IMethodDescriptor
type HandlerDescriptor = class
interface IMethodDescriptor
Public MustInherit Class HandlerDescriptor
Implements IMethodDescriptor
- Inheritance
-
HandlerDescriptor
- Implements
Constructors
| Name | Description |
|---|---|
| HandlerDescriptor() | |
Properties
| Name | Description |
|---|---|
| ParameterDescriptors |
Descriptors for the parameters of the constructor. |
| Parent |
The model descriptor that this constructor belongs to. |
Methods
| Name | Description |
|---|---|
| FromDelegate(Delegate) |
Creates a descriptor based on the specified method. |
| FromMethodInfo(MethodInfo, Object) |
Creates a descriptor based on the specified method. |
| GetCommandHandler() |
Gets a command handler that can bind to the specifications of the descriptor. |
| ToString() |
Returns a string that represents the current object. |