C# Class OnlineTakeawayStore.StaticDomainEvents.Application.ConfirmDeliveryOfOrder

Exibir arquivo Open project: elbandit/PPPDDD Class Usage Examples

Public Methods

Method Description
Confirm ( System.DateTime timeThatPizzaWasDelivered, System.Guid orderId ) : void
ConfirmDeliveryOfOrder ( IOrderRepository orderRepository, IBus bus ) : NServiceBus

Private Methods

Method Description
onDeliveryFailure ( DeliveryGuaranteeFailed evnt ) : void

Method Details

Confirm() public method

public Confirm ( System.DateTime timeThatPizzaWasDelivered, System.Guid orderId ) : void
timeThatPizzaWasDelivered System.DateTime
orderId System.Guid
return void

ConfirmDeliveryOfOrder() public method

public ConfirmDeliveryOfOrder ( IOrderRepository orderRepository, IBus bus ) : NServiceBus
orderRepository IOrderRepository
bus IBus
return NServiceBus