public PowerOffCommand(DesignPattern.Command.IReceiver receiver) { _receiver = receiver as Power; }
public ButtonCommand(DesignPattern.Command.IReceiver receiver) { _receiver = receiver as Button; }
public PowerOffCommand(DesignPattern.Command.IReceiver receiver) { _receiver = receiver as Power; }
public ButtonCommand(DesignPattern.Command.IReceiver receiver) { _receiver = receiver as Button; }