Table of Contents

Interface IAggregateRootEventHandlersFactory

Namespace
Cratis.Chronicle.Aggregates
Assembly
Cratis.Chronicle.dll

Defines a system that is capable of creating instances of IAggregateRootEventHandlers.

public interface IAggregateRootEventHandlersFactory

Methods

GetFor(IAggregateRoot)

Create an instance of IAggregateRootEventHandlers for a specific aggregate root type.

IAggregateRootEventHandlers GetFor(IAggregateRoot aggregateRoot)

Parameters

aggregateRoot IAggregateRoot

The IAggregateRoot to create for.

Returns

IAggregateRootEventHandlers

A new IAggregateRootEventHandlers instance.