Amazon.KinesisTap.Windows/EventLogSource.cs
/// <summary>
/// This method is invoked when the dependent service (EventLog) is running again.  The source
/// is started with a special flag indicating that we should use the saved in-memory bookmark if that 
/// is set.  This avoids losing data due to the EventLog service being stopped.
/// </summary>
This method is invoked when the dependent service (EventLog) is running again.  The source
is started with a special flag indicating that we should use the saved in-memory bookmark if that
is set.  This avoids losing data due to the EventLog service being stopped.
This method is invoked when the dependent service ( EventLog ) is running again . The source is started with a special flag indicating that we should use the saved in - memory bookmark if that is set . This avoids losing data due to the EventLog service being stopped .
protected override void AfterDependencyAvailable()
        {
            try
            {
                _isStartFromReset = true;
                Start();
            }
            finally
            {
                _isStartFromReset = false;
            }
        }
protected override void AfterDependencyAvailable ( ) { try { _isStartFromReset = true ; Start ( ) ; } finally { _isStartFromReset = false ; } }
This method is invoked when the dependent service (EventLog) is running again.
This method is invoked when the dependent service ( EventLog ) is running again .