C# Class DomainDrivenDelivery.Infrastructure.Persistence.InMemory.HandlingEventRepositoryInMem

Inheritance: HandlingEventRepository
Exibir arquivo Open project: awhatley/dddsample.net Class Usage Examples

Public Methods

Method Description
find ( EventSequenceNumber eventSequenceNumber ) : HandlingEvent
lookupHandlingHistoryOfCargo ( Cargo cargo ) : HandlingHistory
mostRecentHandling ( Cargo cargo ) : HandlingEvent
store ( HandlingEvent @event ) : void

Method Details

find() public method

public find ( EventSequenceNumber eventSequenceNumber ) : HandlingEvent
eventSequenceNumber EventSequenceNumber
return HandlingEvent

lookupHandlingHistoryOfCargo() public method

public lookupHandlingHistoryOfCargo ( Cargo cargo ) : HandlingHistory
cargo Cargo
return HandlingHistory

mostRecentHandling() public method

public mostRecentHandling ( Cargo cargo ) : HandlingEvent
cargo Cargo
return HandlingEvent

store() public method

public store ( HandlingEvent @event ) : void
@event HandlingEvent
return void