Show / Hide Table of Contents

Interface ICommandHandler<TCommand>

Can be implemented to provide basic command handling capabilites where no result is required

Namespace: AzureFromTheTrenches.Commanding.Abstractions
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public interface ICommandHandler<in TCommand> : ICommandHandler, ICommandHandlerBase where TCommand : ICommand
Type Parameters
Name Description
TCommand

The type of the command

Methods

| Improve this Doc View Source

ExecuteAsync(TCommand)

Executes the command

Declaration
Task ExecuteAsync(TCommand command)
Parameters
Type Name Description
TCommand command

The command

Returns
Type Description
Task

An awaitable task

  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall