public TreeNode(ComponentName compName, IHandler handler) { if (compName == null) throw new ArgumentNullException("compName"); if (handler == null) throw new ArgumentNullException("handler"); this.compName = compName; this.handler = handler; }