TCustomizeablePrintableConsoleHandler
TCustomizeablePrintableConsoleHandler is an enhancment of the TPrintableConsoleHandler class which allows the use of a TPostExecuteReactionFunction to modify the output if the data format or the error code if the result is not pre-defined.
Available functionality (users)
Available functionality (developers)
Create
constructor Create(AParser: TCustomConsoleInputParser; AnInputHandler: TConsoleInputHandler; InitialState: String = ''; PostExecuteReaction: TPostExecuteReactionFunction = nil);
(Optionally) sets the PostExecuteReactionFunction (see description on top); for the other parameters see TPrintableConsoleHandler.Create.
FPost_Execute
function FPost_Execute(AnOutput: THandlerResult): Boolean;
Executes (if assigned) the PostExecuteReactionFunction and continues with the inherited TPrintableConsoleHandler.Create.