insert
Inserts the provided event in the MutableEventLog at the appropriate index. If the event is already present, or an event with the same SiteIdentifier has already been inserted, the insertion will simply be ignored.
This also means that if you have multiple events with the same SiteIdentifier at your disposal, you should make sure to insert them in the increasing SequenceNumber order.
Parameters
the SequenceNumber for the inserted event.
the SiteIdentifier for the inserted event.
the body of the event.
where the event body should be read.
where the event body should be read.
Inserts the provided Event in the MutableEventLog at the appropriate index. If the event is already present, or an event with the same EventIdentifier has already been inserted, the insertion will simply be ignored.
This also means that if you have multiple events with the same SiteIdentifier at your disposal, you should make sure to insert them in the increasing SequenceNumber order.
Parameters
the Event that is inserted.