void IChainedCommandHandler <PageDownKeyCommandArgs> .ExecuteCommand(PageDownKeyCommandArgs args, Action nextHandler, CommandExecutionContext context) { AssertIsForeground(); if (!ChangeSelection(() => sessionOpt.PresenterSession.SelectNextPageItem())) { nextHandler(); } }
void ICommandHandler <PageDownKeyCommandArgs> .ExecuteCommand(PageDownKeyCommandArgs args, Action nextHandler) { AssertIsForeground(); ExecuteCommandWorker(args, nextHandler); }
CommandState ICommandHandler <PageDownKeyCommandArgs> .GetCommandState(PageDownKeyCommandArgs args, Func <CommandState> nextHandler) { AssertIsForeground(); return(GetCommandStateWorker(args, nextHandler)); }
CommandState IChainedCommandHandler <PageDownKeyCommandArgs> .GetCommandState(PageDownKeyCommandArgs args, Func <CommandState> nextHandler) { AssertIsForeground(); return(nextHandler()); }
void IChainedCommandHandler <PageDownKeyCommandArgs> .ExecuteCommand(PageDownKeyCommandArgs args, Action nextHandler, CommandExecutionContext context) { AssertIsForeground(); ExecuteCommandWorker(args, nextHandler, context); }
bool ICommandHandler <PageDownKeyCommandArgs> .ExecuteCommand(PageDownKeyCommandArgs args, CommandExecutionContext executionContext) { GetOperations(args.TextView).PageDown(extendSelection: false); return(true); }
CommandState ICommandHandler <PageDownKeyCommandArgs> .GetCommandState(PageDownKeyCommandArgs args) { return(CommandState.Available); }