Пример #1
0
 public void NotifyItemAudited(AuditEventArgs args)
 {
     CallbackNotifyAuditItem = true;
 }
Пример #2
0
        /// <summary>
        /// Event handler for the P5 email engine object.  This will forward the audit to the client type
        /// via the callback
        /// </summary>
        /// <param name="sender">unused</param>
        /// <param name="e"></param>
		private void OnAuditMail( AuditEventArgs e )
        {
            if (m_continue)
            {
                m_traceClient.NotifyItemAudited(e);
            }
        }
Пример #3
0
        /// <summary>
        /// Event handler for the P5 email engine object.  This will forward the audit to the client type
        /// via the callback
        /// </summary>
        /// <param name="sender">unused</param>
        /// <param name="e"></param>
		private void OnAuditMail( object sender, AuditEventArgs e )
        {
            m_traceClient.NotifyItemAudited(e);
        }
Пример #4
0
        public void NotifyItemAudited(AuditEventArgs args)
        {
            try
            {

                if (args != null)
                {
                    HandleAuditEvent(args);
                }
                else
                {
                    BaseView.CurrentScan.ItemsSkipped++;
                }
                Invoke(new ParameterlessDelegate(StepProgress));
                BaseView.CurrentScan.ItemsScanned++;
                UpdateSummaryResults();
            }
            catch (ObjectDisposedException)
            {
                // Ignore it as we are closing
            }
        }
Пример #5
0
        private static void HandleAuditEvent(AuditEventArgs args)
        {
            System.Diagnostics.Trace.WriteLine("Audit Event Fired - " + DateTime.Now.ToUniversalTime(), "MainForm.HandleAuditEvent");

            Reports.MailMessage.Message msg = BaseView.CurrentScan.Messages.Add(args.Message);
            if (msg != null)
                UpdatePolicySummary(msg);
        }
Пример #6
0
		public virtual void NotifyItemAudited(AuditEventArgs args)
		{
			
		}