public void Build(Factory factory, string type) { Command command = new FactoryCommand( factory, this, type); command.Execute(); }