public DirectEvent(string target, HtmlEvent htmlEvent, DirectEventHandler handler) : this(target, handler) { this.HtmlEvent = htmlEvent; }
public DirectEvent(string target, string eventName, DirectEventHandler handler) : this(target, handler) { this.EventName = eventName; }
//target and handler are required properties, so must be initialized always private DirectEvent(string target, DirectEventHandler handler) { this.Target = target; this.Event += handler; }