Table of Contents

Class AggregateRootState<TState>

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

Represents an implementation of IAggregateRootState<TState>.

public class AggregateRootState<TState> : IAggregateRootState<TState>

Type Parameters

TState

Type of state.

Inheritance
AggregateRootState<TState>
Implements
Inherited Members

Properties

State

Gets the current state for the aggregate root.

public TState State { get; }

Property Value

TState

Methods

SetState(TState)

Set the state of the aggregate root.

public void SetState(TState state)

Parameters

state TState

State to set.