Skip to content

Class CopyTemplatesCommand

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

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

Inheritance

object ← AsyncCommand<CopyTemplatesCommand.Settings> ← CopyTemplatesCommand

Implements

ICommand<CopyTemplatesCommand.Settings>, ICommandLimiter<CopyTemplatesCommand.Settings>, ICommand

Inherited Members

AsyncCommand<CopyTemplatesCommand.Settings>.Validate(CommandContext, CopyTemplatesCommand.Settings), AsyncCommand<CopyTemplatesCommand.Settings>.ExecuteAsync(CommandContext, CopyTemplatesCommand.Settings, CancellationToken), object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

CopyTemplatesCommand()

csharp
public CopyTemplatesCommand()

Methods

ExecuteAsync(CommandContext, Settings, CancellationToken)

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

Parameters

context CommandContext

settings CopyTemplatesCommand.Settings

cancellationToken CancellationToken

Returns

Task<int>