예제 #1
0
 public void When(FactoryOpened e)
 {
     Factories[e.Id] = new FactoryInfo();
 }
예제 #2
0
 // announcements inside the factory that we react to and realize WHEN thisEventTypeHappened happens
 public void When(FactoryOpened theEvent)
 {
     Id = theEvent.Id;
 }