Example #1
0
        public bool CanExecuteAction(DeviceAction action)
        {
            IDeviceCommand command = null;

            return(_commands.TryGet(c => c.Action == action, out command) &&
                   CanApplyCommand(command));
        }