private void OnCommandLineArgument(string argument, object value, bool isFile)
        {
            Banshee.Hardware.DeviceCommand command = Banshee.Hardware.DeviceCommand.ParseCommandLine(argument, value.ToString());
            if (command == null)
            {
                return;
            }

            DeviceCommandHandler handler = device_command;

            if (handler != null)
            {
                handler(this, command);
            }
        }
Ejemplo n.º 2
0
 public void Setup()
 {
     repository = new MockDeviceRepository();
     sut        = new DeviceCommandHandler(repository);
 }