示例#1
0
 public CarProduced(FactoryId id, string employeeName, string carModel, CarPart[] parts)
 {
     Id           = id;
     EmployeeName = employeeName;
     CarModel     = carModel;
     Parts        = parts;
 }
示例#2
0
 public AssignEmployeeToFactory(FactoryId id, string employeeName)
 {
     Id           = id;
     EmployeeName = employeeName;
 }
示例#3
0
 public FactoryOpened(FactoryId id)
 {
     Id = id;
 }
示例#4
0
 public ShipmentUnpackedInCargoBay(FactoryId id, string employeeName, InventoryShipment[] inventoryShipments)
 {
     Id                 = id;
     EmployeeName       = employeeName;
     InventoryShipments = inventoryShipments;
 }
示例#5
0
 public ProduceACar(FactoryId id, string employeeName, string carModel)
 {
     Id           = id;
     EmployeeName = employeeName;
     CarModel     = carModel;
 }
示例#6
0
 public OpenFactory(FactoryId id)
 {
     Id = id;
 }
示例#7
0
 public UnpackAndInventoryShipmentInCargoBay(FactoryId id, string employeeName)
 {
     Id           = id;
     EmployeeName = employeeName;
 }
示例#8
0
 public CurseWordUttered(FactoryId id, string theWord, string meaning)
 {
     Id      = id;
     TheWord = theWord;
     Meaning = meaning;
 }
示例#9
0
 public ShipmentReceivedInCargoBay(FactoryId id, InventoryShipment shipment)
 {
     Id       = id;
     Shipment = shipment;
 }
示例#10
0
 public ReceiveShipmentInCargoBay(FactoryId id, string shipmentName, CarPart[] carParts)
 {
     Id           = id;
     ShipmentName = shipmentName;
     CarParts     = carParts;
 }