Property | Type | Description | |
---|---|---|---|
_id | string |
Method | Description | |
---|---|---|
Apply ( IEvent evnt ) : void |
Apply event on aggregate
|
|
CreateTransition ( IDataTypeRegistry dataTypeRegistry ) : |
Create changeset. Used to persist changes in aggregate
|
|
LoadFromEvents ( IEnumerable |
Load aggregate from events
|
|
LoadFromTransitionStream ( ITransitionStream stream ) : void |
Load aggreagate from history
|
Method | Description | |
---|---|---|
AggregateRoot ( ) : System |
Method | Description | |
---|---|---|
Apply ( IEvent evnt, bool isNew ) : void |
public CreateTransition ( IDataTypeRegistry dataTypeRegistry ) : |
||
dataTypeRegistry | IDataTypeRegistry | |
return |
public LoadFromEvents ( IEnumerable |
||
events | IEnumerable |
|
version | ||
return | void |
public LoadFromTransitionStream ( ITransitionStream stream ) : void | ||
stream | ITransitionStream | |
return | void |