You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove obsolete methods and clean up argument conversion (#1639)
* HelpBuilder test improvement, cleanup
* simplify Token.ToString
* fix#1338
* remove late binding methods, clean up some tests & ArgumentConverter
* clean up a bit more
Copy file name to clipboardExpand all lines: src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_api_is_not_changed.approved.txt
public static TBuilder UseHelpBuilder<TBuilder>(this TBuilder builder, System.Func<System.CommandLine.Binding.BindingContext,System.CommandLine.Help.HelpBuilder> getHelpBuilder)
278
278
public static CommandLineBuilder UseLocalizationResources(this CommandLineBuilder builder, System.CommandLine.LocalizationResources validationMessages)
279
-
public static CommandLineBuilder UseMiddleware(this CommandLineBuilder builder, System.CommandLine.Invocation.InvocationMiddleware middleware, System.CommandLine.Invocation.MiddlewareOrder order = Default)
280
-
public static CommandLineBuilder UseMiddleware(this CommandLineBuilder builder, System.Action<System.CommandLine.Invocation.InvocationContext> onInvoke, System.CommandLine.Invocation.MiddlewareOrder order = Default)
281
279
public static CommandLineBuilder UseParseDirective(this CommandLineBuilder builder, System.Nullable<System.Int32> errorExitCode = null)
282
280
public static CommandLineBuilder UseParseErrorReporting(this CommandLineBuilder builder, System.Nullable<System.Int32> errorExitCode = null)
283
281
public static CommandLineBuilder UseSuggestDirective(this CommandLineBuilder builder)
@@ -467,23 +465,12 @@ System.CommandLine.Parsing
467
465
public System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem> GetCompletions(System.Nullable<System.Int32> position = null)
468
466
public System.Object GetValueForArgument(System.CommandLine.Argument argument)
469
467
public T GetValueForArgument<T>(Argument<T> argument)
470
-
public T GetValueForArgument<T>(System.CommandLine.Argument argument)
471
468
public System.Object GetValueForOption(System.CommandLine.Option option)
472
469
public T GetValueForOption<T>(Option<T> option)
473
-
public T GetValueForOption<T>(System.CommandLine.Option option)
474
470
public System.String ToString()
475
-
public System.Object ValueForArgument(System.String alias)
476
-
public System.Object ValueForArgument(System.CommandLine.Argument argument)
477
-
public T ValueForArgument<T>(Argument<T> argument)
478
-
public T ValueForArgument<T>(System.String name)
479
-
public System.Object ValueForOption(System.String alias)
480
-
public System.Object ValueForOption(System.CommandLine.Option option)
481
-
public T ValueForOption<T>(Option<T> option)
482
-
public T ValueForOption<T>(System.String alias)
483
471
public static class ParseResultExtensions
484
472
public static System.String Diagram(this ParseResult parseResult)
485
473
public static System.Boolean HasOption(this ParseResult parseResult, System.CommandLine.Option option)
486
-
public static System.Boolean HasOption(this ParseResult parseResult, System.String alias)
487
474
public static System.Int32 Invoke(this ParseResult parseResult, System.CommandLine.IConsole console = null)
488
475
public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this ParseResult parseResult, System.CommandLine.IConsole console = null)
489
476
public static class ParserExtensions
@@ -507,10 +494,8 @@ System.CommandLine.Parsing
507
494
public CommandResult FindResultFor(System.CommandLine.Command command)
508
495
public OptionResult FindResultFor(System.CommandLine.Option option)
509
496
public T GetValueForArgument<T>(Argument<T> argument)
510
-
public T GetValueForArgument<T>(System.CommandLine.Argument argument)
511
497
public System.Object GetValueForArgument(System.CommandLine.Argument argument)
512
498
public T GetValueForOption<T>(Option<T> option)
513
-
public T GetValueForOption<T>(System.CommandLine.Option option)
514
499
public System.Object GetValueForOption(System.CommandLine.Option option)
515
500
public System.String ToString()
516
501
public struct Token : System.ValueType, System.IEquatable<Token>
0 commit comments