Show / Hide Table of Contents

Namespace AzureFromTheTrenches.Commanding.Abstractions

Classes

CommandFrameworkConfigurationException

Exception raised when the commanding system configuraiton is invalid

CommandHandlerOrder

Suggested orders for command handler pipelines

CommandingDependencyResolver

CommandingDependencyResolverAdapter

An adapter that enables the commanding framework to be used with any IoC container

SecurityPropertyAttribute

Used to mark command properties as a security risk and for extensions to behave appropriately. For example UserId, if normally obtained from a claim, would be dangerous to serialize through a REST API and the Asp.Net extensions will interpret this and ensure that it is excluded from binding

Interfaces

IAuditItemEnricher

Implementations of this interface can add additional properties to audit items

ICancellableCommandHandler

A command handler that takes a cancellation token

ICancellableCommandHandler<TCommand>

Can be implemented to provide basic command handling capabilites where no result is required and cancellation token support is required

ICancellableCommandHandler<TCommand, TResult>

Can be implemented to provide basic command handling capabilites where a result and cancellation token support is required

ICancellablePipelineAwareCommandHandler

A pipeline aware command handler that can cancel pipeline execution and takes a cancellation token

ICancellablePipelineAwareCommandHandler<TCommand, TResult>

Can be implemented to provide basic command handling capabilites where a result and cancellation token support is required and the handler wishes to be able to halt the command handler execution pipeline

ICommand

Represents a command

ICommand<TResult>

Represents a command that returns a result

ICommandAuditor

Interface that auditors must implement

ICommandAuditorFactory

Implementations of this interface create auditors for given types of command

ICommandAuditPipeline

Represents an audit pipeline

ICommandAuditSerializer

Serializer used by the audit pipeline

ICommandCorrelationIdProvider

Implementations of this interface will generate correlation IDs for use across the command system - used to group commands together including nested commands (a command is fired that invokes a handler that fires another command etc.)

ICommandDispatchContext

Context information used during command dispatch and execution to track and correlate commands

ICommandDispatchContextEnricher

Allows the command dispatch context to be enriched

ICommandDispatcher

This is the primary interface for applications to dispatch commands through.

ICommandExecuter

ICommandExecutionExceptionHandler

This interface can be implemented to catch and handle errors that occur in execution

ICommandHandler

A basic command handler

ICommandHandler<TCommand>

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

ICommandHandler<TCommand, TResult>

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

ICommandHandlerBase

Base interface for all command handlers

ICommandHandlerFactory

Creates command handlers given their type

ICommandingDependencyResolver

ICommandingDependencyResolverAdapter

An adapter that enables the commanding framework to be used with any IoC container

ICommandingRuntime

Represents a runtime for the commanding system. Manages some shared configuration.

ICommandRegistry

Allows command handlers to be registered

IDirectCommandExecuter

The direct command executer should be used in scenarios where dispatch has not occurred in the same process (for example during remote execution)

IFrameworkCommandDispatcher

Base interface for command dispatch. Most people should use the derived ICommandDispatcher interface. This interface is primarily intended to allow decorators to be built with IoC containers that require a build step.

If a deferred dispatcher is not registered then the command will also be run at the point of dispatch.

This allows for configuration based behaviour modification.

IFrameworkCommandExecuter

Implementations of this interface execute commands immediately using the registered set of actors

IIdentifiableCommand

An interface that can be implemented on a command to provide a unique ID the auditor can use. This can be useful if you need to correlate the audit with external events that naturally form part of your command model.

IOptions

Interface that represents the options that can be specified when configuring the commanding runtime

IPipelineAwareCommandHandler

A pipeline aware command handler that can cancel pipeline execution

IPipelineAwareCommandHandler<TCommand, TResult>

Can be implemented to provide basic command handling capabilites where a result is required and the handler wishes to be able to halt the command handler execution pipeline

IPrioritisedCommandHandler

Associates a command handler (type) with it's priority / order in the pipeline.

IQueueableCommand

Represents a command that can be queued.

IRegistrationCatalogue

Retrieve information about command and handler registrations

  • 0 Comments
Back to top Copyright © 2018 James Randall