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