Table of Contents

Interface IAggregateRootMutatorFactory

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

Defines a system that can create instances of IAggregateRoot.

public interface IAggregateRootMutatorFactory

Methods

Create<TState>(IAggregateRootContext)

Create an instance of IAggregateRootMutator for the specified TState.

Task<IAggregateRootMutator> Create<TState>(IAggregateRootContext context)

Parameters

context IAggregateRootContext

The IAggregateRootContext to create the mutator for.

Returns

Task<IAggregateRootMutator>

IAggregateRootMutator created.

Type Parameters

TState

The state type to create a mutator for.