CommandLine.ConfigureRootCommandFromMethod 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.Builder.CommandLineBuilder ConfigureRootCommandFromMethod(this System.CommandLine.Builder.CommandLineBuilder builder, System.Reflection.MethodInfo method, object target = default);
static member ConfigureRootCommandFromMethod : System.CommandLine.Builder.CommandLineBuilder * System.Reflection.MethodInfo * obj -> System.CommandLine.Builder.CommandLineBuilder
<Extension()>
Public Function ConfigureRootCommandFromMethod (builder As CommandLineBuilder, method As MethodInfo, Optional target As Object = Nothing) As CommandLineBuilder
Parameters
- builder
- CommandLineBuilder
- method
- MethodInfo
- target
- Object
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.