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