예제 #1
0
 public void When(EmployeeAssignedToFactory e)
 {
     List.Add(Tuple.Create(e.EmployeeName, e.Id));
 }
예제 #2
0
 public void When(EmployeeAssignedToFactory e)
 {
     Factories[e.Id].WorkerCount += 1;
 }
예제 #3
0
 public void When(EmployeeAssignedToFactory theEvent)
 {
     ListOfEmployeeNames.Add(theEvent.EmployeeName);
 }