C# Class OnlineTakeawayStore.ReturnEvents.Application.ConfirmDeliveryOfOrder

显示文件 Open project: elbandit/PPPDDD

Public Methods

Method Description
Confirm ( System.DateTime timeThatPizzaWasDelivered, System.Guid orderId ) : void
ConfirmDeliveryOfOrder ( IOrderRepository orderRepository, IEventDispatcher dispatcher ) : OnlineTakeawayStore.ReturnEvents.Infrastructure

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, IEventDispatcher dispatcher ) : OnlineTakeawayStore.ReturnEvents.Infrastructure
orderRepository IOrderRepository
dispatcher IEventDispatcher
return OnlineTakeawayStore.ReturnEvents.Infrastructure