Exemplo n.º 1
0
        protected virtual void InvokeExceptionOccuredEvent(ExceptionOccuredEventArgs e)
        {
            EventHandler <ExceptionOccuredEventArgs> handler = ExceptionOccuredEvent;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
        protected virtual void OnExceptionOccuredEvent(ExceptionOccuredEventArgs e)
        {
            var handler = ExceptionOccuredEvent;

            handler?.Invoke(this, e);
        }
 protected virtual void InvokeExceptionOccuredEvent(ExceptionOccuredEventArgs e)
 {
     EventHandler<ExceptionOccuredEventArgs> handler = ExceptionOccuredEvent;
     if (handler != null) handler(this, e);
 }