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