語言

HandlerDescriptor.FromMethodInfo(MethodInfo, Object) 方法

定義

public static System.CommandLine.Binding.HandlerDescriptor FromMethodInfo(System.Reflection.MethodInfo methodInfo, object target = default);
static member FromMethodInfo : System.Reflection.MethodInfo * obj -> System.CommandLine.Binding.HandlerDescriptor
Public Shared Function FromMethodInfo (methodInfo As MethodInfo, Optional target As Object = Nothing) As HandlerDescriptor

參數

methodInfo
MethodInfo
target
Object

傳回

適用於