public override void Lights() { _lights = new Lights() { Name = "车灯" }; Console.WriteLine($"{this.GetType().Name} builder Lights"); }
public Car(Engine engine, Wheels wheels, Lights lights) { _engine = engine; _wheels = wheels; _lights = lights; }