protected virtual bool OnMassWireOperation(MassWireOperationEventArgs e)
        {
            Contract.Requires <ArgumentNullException>(e != null);

            try {
                this.MassWireOperation?.Invoke(this, e);
            } catch (Exception ex) {
                this.ReportEventHandlerException("MassWireOperation", ex);
            }

            this.WriteHadnlerDebugInfo("MassWireOperation", e);
            return(e.Handled);
        }
Exemplo n.º 2
0
        protected virtual bool OnMassWireOperation(MassWireOperationEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException();
            }

            try {
                this.MassWireOperation?.Invoke(this, e);
            } catch (Exception ex) {
                this.ReportEventHandlerException("MassWireOperation", ex);
            }

            this.WriteHadnlerDebugInfo("MassWireOperation", e);
            return(e.Handled);
        }