Exemple #1
0
 protected virtual void OnMessageReady(BlogServiceEventArgs e)
 {
     if (MessageReady != null)
     {
         try
         {
             MessageReady(this, e);
         }
         catch (Exception)
         {
             //Always continue after a missed event
         }
     }
 }
Exemple #2
0
 protected virtual void OnUploadFinish(BlogServiceEventArgs e)
 {
     if (PostFinish != null)
     {
         try
         {
             PostFinish(this, e);
         }
         catch (Exception)
         {
             //Always continue after a missed event
         }
     }
 }
Exemple #3
0
 protected virtual void OnErrorOccured(BlogServiceEventArgs e)
 {
     if (ErrorOccured != null)
     {
         try
         {
             ErrorOccured(this, e);
         }
         catch (Exception)
         {
             //Always continue after a missed event
         }
     }
 }