CommandLine.ConfigureFromMethod(Command, MethodInfo, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static void ConfigureFromMethod(this System.CommandLine.Command command, System.Reflection.MethodInfo method, object target = default);
static member ConfigureFromMethod : System.CommandLine.Command * System.Reflection.MethodInfo * obj -> unit
<Extension()>
Public Sub ConfigureFromMethod (command As Command, method As MethodInfo, Optional target As Object = Nothing)
参数
- command
- Command
- method
- MethodInfo
- target
- Object