mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2025-10-25 15:19:23 +00:00
Also raise CA2016 (forward the CancellationToken parameter to methods that take one) to warning Fixes #701
11 lines
291 B
C#
11 lines
291 B
C#
namespace Spectre.Console.Tests.Data;
|
|
|
|
public sealed class GenericCommand<TSettings> : Command<TSettings>
|
|
where TSettings : CommandSettings
|
|
{
|
|
public override int Execute(CommandContext context, TSettings settings, CancellationToken cancellationToken)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|