HandlerDescriptor.FromMethodInfo(MethodInfo, Object) 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.
public static System.CommandLine.NamingConventionBinder.HandlerDescriptor FromMethodInfo(System.Reflection.MethodInfo methodInfo, object? target = default);
static member FromMethodInfo : System.Reflection.MethodInfo * obj -> System.CommandLine.NamingConventionBinder.HandlerDescriptor
Public Shared Function FromMethodInfo (methodInfo As MethodInfo, Optional target As Object = Nothing) As HandlerDescriptor
Parameters
- methodInfo
- MethodInfo
- target
- Object