예제 #1
0
 public SolarBatteryAdapter(AbstractAdoptee adaptee) :
     base(adaptee)
 {
     OutputVoltage = GetTransformedVoltage(adaptee.GetElectricity(), TargetVoltageLaptop);
 }
예제 #2
0
 public BicicleDinamoAdapter(AbstractAdoptee adaptee) :
     base(adaptee)
 {
     OutputVoltage = GetTransformedVoltage(adaptee.GetElectricity(), TargetVoltageLaptop);
 }
예제 #3
0
 public AmericanSocketAdapter(AbstractAdoptee adaptee) :
     base(adaptee)
 {
     OutputVoltage = GetTransformedVoltage(adaptee.GetElectricity(), TargetVoltageLaptop);
 }
예제 #4
0
 public TurbineGeneratorAdapter(AbstractAdoptee adaptee) :
     base(adaptee)
 {
     OutputVoltage = GetTransformedVoltage(adaptee.GetElectricity(), TargetVoltageLaptop);
 }