Пример #1
0
        public override bool Send(string fileName, Stream file, Report report, SerializableException exception)
        {
            if (Settings.CustomSubmissionHandle == null)
                return false;

            var e = new CustomSubmissionEventArgs(fileName, file, report, exception);
            Settings.CustomSubmissionHandle.DynamicInvoke(this, e);
            return e.Result;
        }
Пример #2
0
 /// <summary>
 /// Handles CustomSubmissionEvent to submit bug
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void Settings_CustomSubmissionEvent(object sender, CustomSubmissionEventArgs e)
 {
     Debug.WriteLine(string.Format("Custom submission for exception {0}", e.Exception.Message));
     e.Result = true;
 }