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