@@ -66,8 +66,8 @@ System.CommandLine
66
66
public static class CommandExtensions
67
67
public static System.Int32 Invoke(this Command command, System.String[] args, IConsole console = null)
68
68
public static System.Int32 Invoke(this Command command, System.String commandLine, IConsole console = null)
69
- public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Command command, System.String[] args, IConsole console = null)
70
- public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Command command, System.String commandLine, IConsole console = null)
69
+ public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Command command, System.String[] args, IConsole console = null, System.Threading.CancellationToken cancellationToken = null )
70
+ public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Command command, System.String commandLine, IConsole console = null, System.Threading.CancellationToken cancellationToken = null )
71
71
public static ParseResult Parse(this Command command, System.String[] args)
72
72
public static ParseResult Parse(this Command command, System.String commandLine)
73
73
public class CommandLineBuilder
@@ -357,8 +357,8 @@ System.CommandLine.Help
357
357
System.CommandLine.Invocation
358
358
public interface IInvocationResult
359
359
public System.Void Apply(InvocationContext context)
360
- public class InvocationContext
361
- .ctor(System.CommandLine.ParseResult parseResult, System.CommandLine.IConsole console = null)
360
+ public class InvocationContext, System.IDisposable
361
+ .ctor(System.CommandLine.ParseResult parseResult, System.CommandLine.IConsole console = null, System.Threading.CancellationToken cancellationToken = null )
362
362
public System.CommandLine.Binding.BindingContext BindingContext { get; }
363
363
public System.CommandLine.IConsole Console { get; set; }
364
364
public System.Int32 ExitCode { get; set; }
@@ -451,12 +451,12 @@ System.CommandLine.Parsing
451
451
public static System.String Diagram(this System.CommandLine.ParseResult parseResult)
452
452
public static System.Boolean HasOption(this System.CommandLine.ParseResult parseResult, System.CommandLine.Option option)
453
453
public static System.Int32 Invoke(this System.CommandLine.ParseResult parseResult, System.CommandLine.IConsole console = null)
454
- public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this System.CommandLine.ParseResult parseResult, System.CommandLine.IConsole console = null)
454
+ public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this System.CommandLine.ParseResult parseResult, System.CommandLine.IConsole console = null, System.Threading.CancellationToken cancellationToken = null )
455
455
public static class ParserExtensions
456
456
public static System.Int32 Invoke(this Parser parser, System.String commandLine, System.CommandLine.IConsole console = null)
457
457
public static System.Int32 Invoke(this Parser parser, System.String[] args, System.CommandLine.IConsole console = null)
458
- public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Parser parser, System.String commandLine, System.CommandLine.IConsole console = null)
459
- public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Parser parser, System.String[] args, System.CommandLine.IConsole console = null)
458
+ public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Parser parser, System.String commandLine, System.CommandLine.IConsole console = null, System.Threading.CancellationToken cancellationToken = null )
459
+ public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Parser parser, System.String[] args, System.CommandLine.IConsole console = null, System.Threading.CancellationToken cancellationToken = null )
460
460
public static System.CommandLine.ParseResult Parse(this Parser parser, System.String commandLine)
461
461
public abstract class SymbolResult
462
462
public System.Collections.Generic.IReadOnlyList<SymbolResult> Children { get; }
0 commit comments