public CreateComponentTool(Type componentType) { if (componentType == null) throw new ArgumentNullException("componentType"); this.componentType = componentType; }