The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

RH (20) [Avatar] Offline
PDF page 232 (my emphasis):
The final method you need to implement is the most important one, the FromJournal
method, which allows you to map an event into a new event type. In this case, you need to
create a new event from the event that you were provided that contains the important
properties that you are interested in. You start by defining the new event that you'll be using;
in this case, it's a simple class containing a StockIdentifier property and a count. You can
see the class definition in the following example.
You also then define your mapping function by
creating an instance of the new event from the old event.

The text mentions a class definition that doesn't exist in the code sample:
public IEventSequence FromJournal(object evt, string manifest)
  if(evt is Events.V1.ItemAdded)
    var oldEvt = (Events.V1.ItemAdded)evt;
    var newEvt = new Events.V2.ItemAdded(new
    return EventSequence.Single(newEvt);
  return EventSequence.Single(evt);