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); } }
public void Setup() { repository = new MockDeviceRepository(); sut = new DeviceCommandHandler(repository); }