string When(TransferShipmentToCargoBay e) { return string.Format(@"Transfer shipment '{0}' to cargo bay:{1}" , e.ShipmentName , e.Parts.Aggregate("", (x, y) => x + string.Format("\r\n{0}:{1}", y.Name, y.Quantity)) ); }
public void When(TransferShipmentToCargoBay c) { Update(c, ar => ar.TransferShipmentToCargoBay(c.ShipmentName, new InventoryShipment(c.ShipmentName, c.Parts))); }
public void When(TransferShipmentToCargoBay c) { Update(c, ar => ar.TransferShipmentToCargoBay(c.ShipmentName, new InventoryShipment(c.ShipmentName, c.Parts))); }