コード例 #1
0
 // Now let's use the Update helper method above to wire command messages to actual aggregate methods
 public void When(ProduceACar cmd)
 {
     Update(cmd, ar => ar.ProduceACar(cmd.EmployeeName, cmd.CarModel, _carBlueprintLibrary));
 }
コード例 #2
0
 // Now let's use the Update helper method above to wire command messages to actual aggregate methods
 public void When(ProduceACar cmd)
 {
     Update(cmd, ar => ar.ProduceACar(cmd.EmployeeName, cmd.CarModel, _carBlueprintLibrary));
 }