Exemplo n.º 1
0
 public Phone(IPlaySoundStrategy playSoundStrategy)
 {
     PlaySoundStrategy = playSoundStrategy;
 }
Exemplo n.º 2
0
 public Computer(IPlaySoundStrategy playSoundStrategy)
 {
     PlaySoundStrategy = playSoundStrategy;
     PlaySound("*звук включения компьютера*");
 }