Write a new Delphi type that lets a method have inline code as a parameter? Is it possible to have this in Delphi?