Example #1
0
 void OnDownloadComplete()
 {
     if (handlers != null && handlers.HasListeners)
     {
         handlers.RaiseEvent(this, EventArgs.Empty);
     }
 }
Example #2
0
 private void OnCompleted(IDataReader reader, Exception error)
 {
     if (handlers != null && handlers.HasListeners)
     {
         handlers.RaiseEvent(this, new SqlQueryResultArgs()
         {
             DataReader = reader, Error = error
         });
     }
 }
Example #3
0
        private void OnCompleted(XDocument doc, bool newVersion = false)
        {
            changeList = doc;

            if (handlers != null && handlers.HasListeners)
            {
                handlers.RaiseEvent(this, new SetupRequestEventArgs()
                {
                    Changes = doc, NewVersionAvailable = newVersion
                });
            }
        }