Hi, for everybody who watched the CodeRage 8 session - Escaping the Try..Finally..Free Nest from Allister Christie - and hwo actually likes this way of doing it, you might want to check a Live-Template that I made, which simplifies the declaration of the Guard significantly. Just copy the xml below into your Live-Templates folder and invoke it with "dof<Tab". It declares an IDoFinally interface and the Instance variable automatically.
Hi, for everybody who watched the CodeRage 8 session - Escaping the Try..Finally..Free Nest from Allister Christie - and hwo actually likes this way of doing it, you might want to check a Live-Template that I made, which simplifies the declaration of the Guard significantly. Just copy the xml below into your Live-Templates folder and invoke it with "dof
http://schemas.borland.com/Delphi/2005/codetemplates"
version="1.0.0">
DF
IDoFinally Interface
TObject
Constructor
Instance
class Instance
DoFinally
Markus Joos
https://www.youtube.com/watch?v=v3gYClTLrAk
version="1.0.0">
DF
IDoFinally Interface
TObject
Constructor
Instance
class Instance
DoFinally
Markus Joos
|end||*|]]>
https://www.youtube.com/watch?v=v3gYClTLrAk
Comments
Post a Comment