/// <summary> Call the method ShouldLogOnNullSet() /// /// </summary> /// <param name="handler">call the appropriate method on this handler /// </param> public virtual void Execute(IEventHandler handler) { INullSetEventHandler eh = (INullSetEventHandler)handler; if (eh is IContextAware) { ((IContextAware)eh).Context = context; } executed = true; result = ((INullSetEventHandler)handler).shouldLogOnNullSet(lhs, rhs); }
/// <summary> Add a null set event handler to the Cartridge. /// /// </summary> /// <param name="ev">NullSetEventHandler /// </param> /// <since> 1.5 /// </since> public virtual void AddNullSetEventHandler(INullSetEventHandler ev) { nullSetHandlers.Add(ev); }