private void RaiseTimestampAddedEvent(long lineNumber, string line, string fullText) { var args = BuildTimestampAddedEventArgs(lineNumber, line, fullText); var timestampAddedEvent = new TimestampAdded(args); TokenEvents.Raise(timestampAddedEvent); }
public void Handle(TimestampAdded tokenEvent) { var newEventInfo = new TestEventInformation { EventName = "TimestampAdded", TokenEvent = tokenEvent }; _Events.Add(newEventInfo); }