HandlerDescriptor.FromMethodInfo(MethodInfo, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Paramètres
- methodInfo
- MethodInfo
- target
- Object