Skip to content

Class GenerateCommand ​

Namespace: Momentum.Extensions.EventMarkdownGenerator
Assembly: Momentum.Extensions.EventMarkdownGenerator.dll

csharp
[ExcludeFromCodeCoverage]
public sealed class GenerateCommand : AsyncCommand<GenerateCommand.Settings>, ICommand<GenerateCommand.Settings>, ICommandLimiter<GenerateCommand.Settings>, ICommand

Inheritance ​

object ← AsyncCommand<GenerateCommand.Settings> ← GenerateCommand

Implements ​

ICommand<GenerateCommand.Settings>, ICommandLimiter<GenerateCommand.Settings>, ICommand

Inherited Members ​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors ​

GenerateCommand() ​

csharp
public GenerateCommand()

Methods ​

ExecuteAsync(CommandContext, Settings, CancellationToken) ​

csharp
protected override Task<int> ExecuteAsync(CommandContext context, GenerateCommand.Settings settings, CancellationToken cancellationToken)

Parameters ​

context CommandContext

settings GenerateCommand.Settings

cancellationToken CancellationToken

Returns ​

Task<int>