Exemplo n.º 1
0
        private ICommand FindPrev(XTable table, ICommand command)
        {
            FindPrevCommand             cmd      = (FindPrevCommand)command;
            KeyValuePair <IData, IData>?keyValue = table.FindPrev(cmd.Key);

            return(new FindPrevCommand(cmd.Key, keyValue));
        }
Exemplo n.º 2
0
        public KeyValuePair <IData, IData>?FindPrev(IData key)
        {
            var command = new FindPrevCommand(key);

            Execute(command);

            return(command.KeyValue);
        }