public SuperPowerSource() { Console.WriteLine($"Constructing a super expensive SuperPowerSource ..."); this.powerSource = new VariablePowerSource(1500); }
public LightweightPowerSource() { Console.WriteLine($"Constructing a LightweightPowerSource ..."); this.powerSource = new VariablePowerSource(15); }
public MainPowerSource() { Console.WriteLine($"Constructing an expensive MainPowerSource ..."); this.powerSource = new VariablePowerSource(1000); }