Esempio n. 1
0
        private void RaiseTimestampAddedEvent(long lineNumber, string line, string fullText)
        {
            var args = BuildTimestampAddedEventArgs(lineNumber, line, fullText);
            var timestampAddedEvent = new TimestampAdded(args);

            TokenEvents.Raise(timestampAddedEvent);
        }
Esempio n. 2
0
        public void Handle(TimestampAdded tokenEvent)
        {
            var newEventInfo = new TestEventInformation
            {
                EventName  = "TimestampAdded",
                TokenEvent = tokenEvent
            };

            _Events.Add(newEventInfo);
        }