C# 클래스 EventSourcing.Sample.NotifyEventSample.OrderService

상속: IOrderService
파일 보기 프로젝트 열기: tangxuehua/eventsourcing

공개 메소드들

메소드 설명
AddOrderItem ( System.Guid orderId, System.Guid productId, int amount ) : OrderItem
CreateOrder ( string customer ) : Order
OrderService ( IContextManager contextManager ) : System
RemoveOrderItem ( System.Guid orderId, System.Guid productId ) : void
UpdateOrderItemAmount ( System.Guid orderId, System.Guid productId, int amount ) : void

메소드 상세

AddOrderItem() 공개 메소드

public AddOrderItem ( System.Guid orderId, System.Guid productId, int amount ) : OrderItem
orderId System.Guid
productId System.Guid
amount int
리턴 OrderItem

CreateOrder() 공개 메소드

public CreateOrder ( string customer ) : Order
customer string
리턴 Order

OrderService() 공개 메소드

public OrderService ( IContextManager contextManager ) : System
contextManager IContextManager
리턴 System

RemoveOrderItem() 공개 메소드

public RemoveOrderItem ( System.Guid orderId, System.Guid productId ) : void
orderId System.Guid
productId System.Guid
리턴 void

UpdateOrderItemAmount() 공개 메소드

public UpdateOrderItemAmount ( System.Guid orderId, System.Guid productId, int amount ) : void
orderId System.Guid
productId System.Guid
amount int
리턴 void