public DomEventListener AddEventListener (string type, DomEventListenerHandler handler, bool useCapture) { if (handler == null) throw new ArgumentNullException ("handler"); var obj = new DomNodeEventProxy (this, handler); AddEventListener (type, obj, useCapture); return obj; }
public DomEventListener AddEventListener(string type, DomEventListenerHandler handler, bool useCapture) { if (handler == null) { throw new ArgumentNullException("handler"); } var obj = new DomNodeEventProxy(this, handler); AddEventListener(type, obj, useCapture); return(obj); }