protected virtual void RaiseActionFailedEvent(SourceControlException ex)
 {
     var handler = ActionFailed;
     if (handler != null)
     {
         handler(this, new ActionFailedEventArgs(ex));
     }
 }
 public ActionFailedEventArgs(SourceControlException ex)
     : this(ex.Message, ex.InnerException.Message) { }