protected virtual bool OnItemUpdate(ItemUpdateEventArgs e) { Contract.Requires <ArgumentNullException>(e != null); try { if (this.ItemUpdate != null) { this.ItemUpdate(this, e); } } catch (Exception ex) { this.ReportEventHandlerException("ItemUpdate", ex); } return(e.Handled); }
protected virtual bool OnItemUpdate(ItemUpdateEventArgs e) { if (e == null) { throw new ArgumentNullException(); } try { if (this.ItemUpdate != null) { this.ItemUpdate(this, e); } } catch (Exception ex) { this.ReportEventHandlerException("ItemUpdate", ex); } this.WriteHadnlerDebugInfo("ItemUpdate", e); return(e.Handled); }
protected virtual bool OnItemUpdate(ItemUpdateEventArgs e) { Contract.Requires<ArgumentNullException>(e != null); try { if (this.ItemUpdate != null) this.ItemUpdate(this, e); } catch (Exception ex) { this.ReportEventHandlerException("ItemUpdate", ex); } return e.Handled; }