public void Reset()
 {
     lock (this) {
         OldDataList.Clear();
         NewDataList.Clear();
         LastNewData = null;
         LastOldData = null;
         IsInvoked = false;
     }
 }
        public void Update(
            object sender,
            UpdateEventArgs eventArgs)
        {
            var newData = eventArgs.NewEvents;
            var oldData = eventArgs.OldEvents;

            OldDataList.Add(oldData);
            NewDataList.Add(newData);

            LastNewData = newData;
            LastOldData = oldData;

            IsInvoked = true;
        }