diff --git a/Directory.Packages.props b/Directory.Packages.props index 4320e38..be7e2a6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -17,12 +17,12 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all diff --git a/LeetCode/Commands/AppCommand.cs b/LeetCode/Commands/AppCommand.cs index 9b3eb62..afdd416 100644 --- a/LeetCode/Commands/AppCommand.cs +++ b/LeetCode/Commands/AppCommand.cs @@ -2,7 +2,7 @@ internal sealed class AppCommand : Command { - public override int Execute(CommandContext context) + public override int Execute(CommandContext context, CancellationToken cancellationToken) { try { diff --git a/LeetCode/Commands/BenchmarkCommand.cs b/LeetCode/Commands/BenchmarkCommand.cs index 8d6276f..9bb7d6b 100644 --- a/LeetCode/Commands/BenchmarkCommand.cs +++ b/LeetCode/Commands/BenchmarkCommand.cs @@ -5,7 +5,8 @@ internal sealed class BenchmarkCommand : Command [SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")] public override int Execute( [NotNull] CommandContext context, - [NotNull] BenchmarkSettings settings) + [NotNull] BenchmarkSettings settings, + CancellationToken cancellationToken) { try { diff --git a/LeetCode/Commands/InfoCommand.cs b/LeetCode/Commands/InfoCommand.cs index 5f228f0..94a7356 100644 --- a/LeetCode/Commands/InfoCommand.cs +++ b/LeetCode/Commands/InfoCommand.cs @@ -5,7 +5,8 @@ internal sealed class InfoCommand : Command [SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")] public override int Execute( [NotNull] CommandContext context, - [NotNull] ProblemSettings settings) + [NotNull] ProblemSettings settings, + CancellationToken cancellationToken) { try { diff --git a/LeetCode/Commands/ListCommand.cs b/LeetCode/Commands/ListCommand.cs index d51221f..5a48832 100644 --- a/LeetCode/Commands/ListCommand.cs +++ b/LeetCode/Commands/ListCommand.cs @@ -3,7 +3,7 @@ internal sealed class ListCommand : Command { [SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")] - public override int Execute([NotNull] CommandContext context) + public override int Execute([NotNull] CommandContext context, CancellationToken cancellationToken) { try { diff --git a/LeetCode/Commands/WorkflowCommand.cs b/LeetCode/Commands/WorkflowCommand.cs index 875a3b6..f18b098 100644 --- a/LeetCode/Commands/WorkflowCommand.cs +++ b/LeetCode/Commands/WorkflowCommand.cs @@ -3,7 +3,7 @@ internal sealed class WorkflowCommand : Command { [SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")] - public override int Execute([NotNull] CommandContext context) + public override int Execute([NotNull] CommandContext context, CancellationToken cancellationToken) { try {