Exemplo n.º 1
0
 public OrderReadyEvent(OrderId orderId)
 {
     OrderId = orderId;
 }
Exemplo n.º 2
0
 protected bool Equals(OrderId other)
 {
     return(value == other.value);
 }
Exemplo n.º 3
0
 public Order(OrderId orderId, IReadOnlyCollection <OrderProduct> products)
 {
     OrderId  = orderId;
     Products = products;
     State    = OrderState.NotVerified;
 }