Table of Contents

CommandHandler Class

Definition

Namespace
Savvyio.Commands
Assemblies
Savvyio.Commands.dll
Source
src/Savvyio.Commands/CommandHandler.cs

Provides a generic and consistent way of handling Command objects that implements the ICommand interface. This is an abstract class.

public abstract class CommandHandler : ICommandHandler, IFireForgetHandler<ICommand>, IHandler<ICommand>, IHandler
Inheritance
CommandHandler
Implements

Constructors

Name Description
CommandHandler()

Initializes a new instance of the CommandHandler class.

Properties

Name Description
Delegates

Gets the activator responsible for invoking delegates that handles ICommand.

Methods

Name Description
RegisterDelegates(IFireForgetRegistry<ICommand>)

Registers the delegates responsible for handling types that implements the ICommand interface.

See Also